1.0.2 • Published 7 years ago
deviantart.js v1.0.2
deviantart.js
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