1.0.1 • Published 1 year ago

oocradio-api-wrapper v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

image

oocradio-wrapper

An API wrapper for oocradio.com because I was bored...

Examples

Getting Setup

const OOCRadio = require('./index.js')

const oocradio = new OOCRadio({ version: '1.1' }) // Takes in the version of the api you want to use 

Get Current Song

oocradio.getCurrentSong().then(data => console.log(data))

Get Next Live

oocradio.nextLive().then(data => console.log(data))

Get Live Data

oocradio.getLiveData().then(data => console.log(data))

Credits

  • @Hyperz Writing this extremely simple wrapper.
  • @Shawn E. Rewriting to change to a constructor
1.0.1

1 year ago

1.0.0

1 year ago