1.0.2 • Published 7 years ago

deviantart.js v1.0.2

Weekly downloads
8
License
MIT
Repository
github
Last release
7 years ago

deviantart.js

NPM

A JavaScript SDK for the DeviantArt API.

Currently only supports the client_credentials OAuth2 grant type and a limited set of REST endpoints.

Installation

$ npm install deviantart.js

Usage

const deviantart = require('deviantart.js');

var client = new deviantart.Client();

client.login(clientId, clientSecret)
.then(() => {
    client.getGallery(username)
    .then(result => {
        /* ... */
    });
});

Supported Endpoints

Gallery

  • GET /gallery/{folderid}
  • GET /gallery/all

User

  • GET /user/friends/{username}
  • GET /user/profile/{username}
  • GET /user/statuses/
  • GET /user/statuses/{statusid}
  • GET /user/watchers/{username}

Contact

You can add me on Discord at Alyanah#0001

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago