API Wrapper for mixcloud and hearthisat
npm install mixjarAPI Wrappers for various music based platforms.
The following platforms are currently available.
* Mixcloud API
* Hearthisat API
shell
$ npm i --save mixjar
`
2. Using yarn
`shell
$ yarn add mixjar
`Usage
`js
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
`js
mixcloud.user('ndungujan23').asCallback((err, result) => {})
`
* Promise
`js
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