@bbeurokab/kmedia
v0.0.1
Published
wrapper for bb archive api
Downloads
5
Readme
kmedia
Wrapper for BB Archive api
- kmedia
- ~getLatestLesson() ⇒ Promise
- ~getContentUnits() ⇒ Promise
kmedia~getLatestLesson() ⇒ Promise
Return the latest lesson objects.
Kind: inner method of kmedia
Fulfil: string - JSON with lessons
Reject: Error - Error return raw JSON response. Deal with it.
kmedia~getContentUnits() ⇒ Promise
Get all content units
Kind: inner method of kmedia
Fulfil: string - The content units
Reject: Error - Error is a raw JSON error