Nurturing Palpable Magnificence

    plurk2
    TypeScript icon, indicating that this package has built-in type declarations

    0.5.2 • Public • Published

    Node-Plurk2

    Plurk2 is a full featured Plurk API 2.0 interface for Node.js. It wraps all requests with OAuth 1.0 headers which has been documented. Also it handles events from comet channel.

    Installation

    $ npm i --save plurk2

    Usage

    Documentation will be available here.

    Example Usage

    const { PlurkClient } = require('plurk2');
     
    const client = new PlurkClient('CONSUMER_TOKEN', 'CONSUMER_TOKEN_SECRET', 'ACCESS_TOKEN', 'ACCESS_TOKEN_SECRET');
     
    client.request('Users/me')
    .then(profile => console.log(profile))
    .catch(err => console.error(err));

    For more examples can have a look in examples/get-token.js.

    Reference: Plurk API 2.0

    License

    MIT

    Keywords

    Install

    npm i plurk2

    DownloadsWeekly Downloads

    34

    Version

    0.5.2

    License

    MIT

    Unpacked Size

    63.8 kB

    Total Files

    21

    Last publish

    Collaborators

    • jlchntoz