mixjar

0.1.2 • Public • Published

Mixjar

API Wrappers for various music based platforms.

Features

The following platforms are currently available.

Installation

  1. Using npm
    $ npm i --save mixjar
  2. Using yarn
    $ yarn add mixjar

Usage

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(() => {})

API

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

Other Projects

You can find the kotlin wrapper for the same in Mixjar Kotlin Repo

Caveat

This is not yet complete and is not an official MixCloud/Hearthisat wrapper. send your thoughts and suggestions to ndungujan23@gmail.com

Package Sidebar

Install

npm i mixjar

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

1.73 MB

Total Files

59

Last publish

Collaborators

  • ndungujan23