Skip to content

ndungujan23/mixjar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published