All Projects → brandonmanke → node-destiny-2

brandonmanke / node-destiny-2

Licence: MIT license
🌑 A zero dependency Destiny 2 API wrapper written in Node.js

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to node-destiny-2

the-traveler
The Traveler is a small npm package which wraps around the Destiny 2 API.
Stars: ✭ 52 (+126.09%)
Mutual labels:  destiny, bungie-api, destiny-api
wishlist
The wishlist has moved! Head on over to https://github.com/rslifka/sliflist
Stars: ✭ 14 (-39.13%)
Mutual labels:  destiny, destiny-2
aiobungie
Python and asyncio Bungie API wrapper.
Stars: ✭ 32 (+39.13%)
Mutual labels:  bungie-api, bungie-destiny-api
LittleLight
An Android app that uses Destiny's API to interact with in-game inventory.
Stars: ✭ 19 (-17.39%)
Mutual labels:  destiny, destiny-api
Echarts Php
Echarts-PHP a PHP library that works as a wrapper for the Echarts js library
Stars: ✭ 253 (+1000%)
Mutual labels:  wrapper
Scikit Geometry
Scientific Python Geometric Algorithms Library
Stars: ✭ 220 (+856.52%)
Mutual labels:  wrapper
Material Ripple
Android L Ripple effect wrapper for Views
Stars: ✭ 2,344 (+10091.3%)
Mutual labels:  wrapper
Flutter wrapper
Flutter execution wrapper which keeps the flutter version in sync for each project
Stars: ✭ 195 (+747.83%)
Mutual labels:  wrapper
libpassqlite
libPasSQLite is delphi and object pascal bindings and wrapper around SQLite library. SQLite is library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database engine.
Stars: ✭ 18 (-21.74%)
Mutual labels:  wrapper
fate of all fools
Enhancements to the information presented in DIM for Destiny 2
Stars: ✭ 20 (-13.04%)
Mutual labels:  destiny
Alertift
Swifty, modern UIAlertController wrapper.
Stars: ✭ 242 (+952.17%)
Mutual labels:  wrapper
Api struct
API wrapper builder with response serialization
Stars: ✭ 224 (+873.91%)
Mutual labels:  wrapper
Bus
Bus 是一个基础框架、服务套件,它基于Java8编写,参考、借鉴了大量已有框架、组件的设计,可以作为后端服务的开发基础中间件。代码简洁,架构清晰,非常适合学习使用。
Stars: ✭ 253 (+1000%)
Mutual labels:  wrapper
Cacheable Request
Wrap native HTTP requests with RFC compliant cache support
Stars: ✭ 218 (+847.83%)
Mutual labels:  wrapper
Await Of
await wrapper for easier errors handling without try-catch
Stars: ✭ 240 (+943.48%)
Mutual labels:  wrapper
Node Fb Messenger
✉️ Facebook Messenger Platform Node.js API Wrapper
Stars: ✭ 206 (+795.65%)
Mutual labels:  wrapper
d2-checklist
Source for www.d2checklist.com, written in Angular and using the Bungie API
Stars: ✭ 82 (+256.52%)
Mutual labels:  destiny
Hololensartoolkit
Marker tracking using the front-facing camera of HoloLens (both 1 and 2) and Unity, with a wrapper of ARToolKit built for UWP (Windows Universal Platform)
Stars: ✭ 238 (+934.78%)
Mutual labels:  wrapper
Nimterop
Nimterop is a Nim package that aims to make C/C++ interop seamless
Stars: ✭ 244 (+960.87%)
Mutual labels:  wrapper
PowerSchool-API
A Node.js library for interacting with the PowerSchool SIS API.
Stars: ✭ 21 (-8.7%)
Mutual labels:  wrapper

node-destiny-2 Node.js CI npm version codecov

🌑 A zero dependency Destiny 2 API Wrapper written in Node.js

Note

The Destiny 2 API is also still being worked on, so some of the endpoints may not work correctly.

Getting Started

Super simple to set up.

// Getting API Manifest Example
const Destiny2API = require('node-destiny-2');

const destiny = new Destiny2API({
  key: 'your-api-key'
});

Get Destiny Manifest Example:

With .then()/.catch():

destiny.getManifest()
  .then(res => console.log(`Manifest: ${res.Response}`))
  .catch(err => console.log(`Error: ${err}`));

With async/await:

try {
    const res = await destiny.getManifest();
    console.log(`Manifest: ${res.Response}`);
} catch (err) {
    console.log(`Error: ${err}`);
    throw err;
}

Installation

Install from NPM with:

npm install node-destiny-2

Or you can build from source via the releases.

Examples

See examples folder for basic function calls. Planning on adding more detailed ones (see issues if you want to help)

Documentation

For general JSDoc documentation see each file in the lib folder. More specifically, destiny-2-api.js has fairly detailed documentation for each method call.

For further reading on the API documentation see the Official Destiny 2 API Documentation.

See issues if you are interested in helping improve the available documentation. (I am planning on eventually adding some documentation generator based on JSDoc).

Contributing

If you see a feature that may need to be added, feel free to send a pull request. Also, feel free to fix or file an issue of your own. I will set up a CONTRIBUTING.md eventually for code style and a little more information on creating pull requests.

License

The code in this repository is licensed under the MIT License. Unless otherwise specified by 3rd party software.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].