Coder Social home page Coder Social logo

kevinbrill / battlenet-api-wrapper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from quaddamn/battlenet-api-wrapper

0.0 0.0 0.0 387 KB

A promised-based Node.js + Typescript wrapper for the Battle.net Community and Data APIs (supports WoW, WoW Classic, SC2, D3, and Hearthstone).

License: MIT License

TypeScript 98.75% JavaScript 1.25%

battlenet-api-wrapper's Introduction

Battle.net API Wrapper

Greenkeeper badge

A promised-based Node.js wrapper for the Battle.net Community and Data APIs (supports WoW, WoW Classic, SC2, D3, and Hearthstone).

Installation

$ npm install --save battlenet-api-wrapper

Prerequisites / General Information

Usage

The basic implementation of this library is as follows:

const battleNetWrapper = require('battlenet-api-wrapper');  
  
const clientId = 'YOUR_CLIENT_ID';  
const clientSecret = 'YOUR_CLIENT_SECRET';  
  
(async function() {  
   const bnw = new battleNetWrapper();  
   await bnw.init(clientId, clientSecret);
}());  

Once you have the battleNetWrapper class object instantiated, you then have access to all of the classes that exist under that umbrella. For each of the classes below, you will see a link to the full abstraction documentation. Each of functions are available on the respective class objects.

Having issues or have questions?

Post an issue and it will be responded to ASAP!

Want to contribute?

Feel free! Create a Pull Request and I'll review it ASAP!

Todos

  • Add in test coverage.

License

Battle.net API Wrapper is released under the MIT License.

battlenet-api-wrapper's People

Contributors

quaddamn avatar dependabot-preview[bot] avatar greenkeeper[bot] avatar kevinbrill avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.