@bbeurokab/kmedia

wrapper for bb archive api

Usage no npm install needed!

<script type="module">
  import bbeurokabKmedia from 'https://cdn.skypack.dev/@bbeurokab/kmedia';
</script>

README

view on npm

kmedia

Wrapper for BB Archive api

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