wykop-api-client

1.0.3 • Public • Published

wykop-api-client

Biblioteka jest implementacją WYKOP API w języku JavaScript

Przekładowe użycie

npm install wykop-api-client
import WykopAPI from 'wykop-api-client';

const KEY = '{APP_KEY}';
const SECRET = '{APP_SECRET}';
const USER_KEY = '{USER_KEY}';

const wykop = new WykopAPI({
    key: KEY,
    secret: SECRET
});

const options = {
    type: 'mywykop',
    method: 'index',
    apiParams: {
        userkey: USER_KEY
    }
};

wykop.request(options)
    .then(response => console.log(response));

Readme

Keywords

none

Package Sidebar

Install

npm i wykop-api-client

Weekly Downloads

5

Version

1.0.3

License

ISC

Last publish

Collaborators

  • veranoo91