ekko-nodejs

1.0.5 • Public • Published

ekko-nodejs

Ekko Rest Api wrapper

Installation

npm install ekko-nodejs --save

Example

To create a user you would simply need to have something like this:

const EkkoSdk = require('ekko-nodejs');
const ekko = EkkoSdk('<SOME API TOKEN>');
 
const payload = {
    "user_id": string,
    "nickname": string,
    "image_url": string,
    "issue_access_token": boolean // (Optional)
};
ekko.users.create(payload)
    .then(function (response) {
        // do something with ekko response
        // {
        //     "user_id": string,
        //     "nickname": string,
        //     "image_url": string,
        //     "access_token": string
        // }
    });

/ekko-nodejs/

    Package Sidebar

    Install

    npm i ekko-nodejs

    Weekly Downloads

    0

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    18.5 kB

    Total Files

    11

    Last publish

    Collaborators

    • bettercalljohn
    • mlepinay
    • nilscam