API Wrappers for various music based platforms.
The following platforms are currently available.
- Using npm
$ npm i --save mixjar
- Using yarn
$ yarn add mixjar
const Mixjar = require('mixjar');
// or
// const { Hearthisat, Mixcloud } = require('mixjar');
// mixcloud with optional access_token for authenticated users
const mixcloud = new Mixjar.Mixcloud('access_token');
const hearthisat = new Mixjar.Hearthisat();
For all functions, there are two methods to obtain your result. For instance
- Callbacks
mixcloud.user('ndungujan23').asCallback((err, result) => {})
- Promise
mixcloud.user('ndungujan23').asPromise().then(() => {})
Refer to the Docs for available sources / platforms
Note: A good number of the API methods have been implemented. More will be added over time as well as more sources. All PRs are welcome 🙂, for any and new methods
You can find the kotlin wrapper for the same in Mixjar Kotlin Repo
This is not yet complete and is not an official MixCloud/Hearthisat wrapper. send your thoughts and suggestions to ndungujan23@gmail.com