Git Product home page Git Product logo

api's Introduction

Bunker's API

๐Ÿ”Œ Bunker's Public API, coded in TypeScript for maximum speed.

Disclaimer

Bunker's API is currently in beta, if any problems arise, especially with the lookup method, please feel free to drop either Chezzer#6969 or polar!#7979 a DM.

Installation

git clone https://github.com/bunkerradio/api.git

Register an application from Spotify's API Dashboard. Please note: API rate limits may be in affect.

Enter the client ID and secret into the config.json file. You MUST do this in order to use the Song Lookup. Once done, do this:

npm install
npm run-script build && npm run-script authorize

To start the API, run this:

npm start

Usage

Clear lookup track and album art cache:

npm run-script clear

JQuery Example:

$.getJSON('http://localhost:5050/stats', data => {
  console.log(data);
})

More info in the wiki

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

api's People

Contributors

alii avatar callumok2004 avatar chezzzer avatar jqcktalks avatar looskie avatar polargh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.