0.0.7 • Published 4 years ago
@musicplayce/sdk v0.0.7
This SDK is intended for server-side use only. *Intercom* offers their official Javascript SDK for client-side operations.
Table of Contents
Getting Started
Installing
Using npm:
npm install @musicplayce/sdk
Using yarn:
yarn add @musicplayce/sdk
Usage
Import the SDK into your project:
import MPlayceClient from '@musicplayce/sdk';
// or use require
const MPlayceClient = require('@musicplayce/sdk');
Initialize a new client:
const options = { beta: true }; // Passing an options object is optional!
const client = new MPlayceClient(options).authenticate({ username: 'YOUR_USERNAME_EMAIL_HERE', password: 'YOUR_PASSWORD_HERE' });
console.log(client.apiVersion); // '1.0'
Built With
- Typescript - Typescript enables JavaScript developers to use highly-productive development tools and practices like static checking and code refactoring when developing JavaScript applications.
- Axios - Promise based HTTP client for the browser and node.js.
- lodash - A modern JavaScript utility library delivering modularity, performance, & extras.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Author(s)
- Gustavo Quinta - Initial work - MoonTory
License
This project is licensed under the MIT License - see the LICENSE.md file for details