GitXplorerGitXplorer
l

libechonest

public
10 stars
5 forks
2 issues

Commits

List of commits on branch master.
Unverified
3ce779536d56a163656e8098913f923e6cda2b5c

Fix encoding check of +

llfranchi committed 10 years ago
Unverified
009514f65044823ef29045397d4b58dd04d09977

Don't double-encode on Qt4

llfranchi committed 10 years ago
Unverified
6895a77a46c9bd4e009ae08515bd91dc3cfbf548

Bump to 2.3.1

llfranchi committed 10 years ago
Unverified
05db14c2f30906b7f22b7eb273cd6b82da6f4323

Merge pull request #26 from dschmidt/master

llfranchi committed 10 years ago
Unverified
f7582b84d15f664bd07d6fd56fa24691c6edc589

Add ECHONEST_LIB_VERSION_SUFFIX to include dir as well

ddschmidt committed 10 years ago
Unverified
6a7947139b7930b9a5baad7ed5d884dfd7477178

small style fix

HHorrendus committed 10 years ago

README

The README file for this repository.

libechonest

libechonest is a collection of C++/Qt classes designed to make a developer's life easy when trying to use the APIs provided by The Echo Nest. More information about the APIs can be found here:

http://developer.echonest.com/docs/v4/

libechonest is developed by Leo Franchi (lfranchi@kde.org), and is available at KDE's projects page, https://projects.kde.org/projects/playground/libs/libechonest . Review request are accepted at http://git.reviewboard.kde.org under the compenent libechonest, and API comments, and more are appreciated.

Dependencies

* Qt, only the QtCore, QtNetwork and QtTest modules (www.qtsoftware.com)
* CMake, Kitware's open source build system (http://cmake.org)
* QJson (http://qjson.sourceforge.net/).

Installing

mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=/path/to/desired/install .. make make install

Using libechonest

The c++ API is meant to be as close to the Echo Nest API as possible. All Echo Nest API functions have been copied into their respective c++ equivalents, and string values converted to enums where reasonable.

See the unit tests in tests/ for examples on how to use the classes.

You need an API key from http://developer.echonest.com to use this library. Set your API key with Echonest::Config::instance()->setAPIKey().

You can also set your own custom QNetworkAccessManager-derived class with Config::setNetworkAccessManager();

Your link line needs to include the following:

-lechonest -lQtCore -lQtNetwork

Thank you for tuning in!

leo


This README, and libechonest in general, is inspired by Max Howell's liblastfm, at http://www.github.com/mxcl/liblastfm.