UNPKG

@kkboxorg/kkbox-javascript-developer-sdk

Version:

KKBOX Open API developer SDK for JavaScript. Use it to easily access KKBOX open API to get various metadata about KKBOX's tracks, albums, artists, playlists and stations.

230 lines (216 loc) 16.2 kB
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <base data-ice="baseUrl" href=""> <title data-ice="title">Source | API Document</title> <link type="text/css" rel="stylesheet" href="css/style.css"> <link type="text/css" rel="stylesheet" href="css/prettify-tomorrow.css"> <script src="script/prettify/prettify.js"></script> <script src="script/manual.js"></script> </head> <body class="layout-container" data-ice="rootContainer"> <header> <a href="./">Home</a> <a href="identifiers.html">Reference</a> <a href="source.html">Source</a> <div class="search-box"> <span> <img src="./image/search.png"> <span class="search-input-edge"></span><input class="search-input"><span class="search-input-edge"></span> </span> <ul class="search-result"></ul> </div> </header> <nav class="navigation" data-ice="nav"><div> <ul> <li data-ice="doc"><div data-ice="dirPath" class="nav-dir-path">api</div><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/api/AlbumFetcher.js~AlbumFetcher.html">AlbumFetcher</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/api/Api.js~Api.html">Api</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/api/ArtistFetcher.js~ArtistFetcher.html">ArtistFetcher</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher.html">FeaturedPlaylistCategoryFetcher</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/api/FeaturedPlaylistFetcher.js~FeaturedPlaylistFetcher.html">FeaturedPlaylistFetcher</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/api/Fetcher.js~Fetcher.html">Fetcher</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/api/GenreStationFetcher.js~GenreStationFetcher.html">GenreStationFetcher</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/api/HttpClient.js~HttpClient.html">HttpClient</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/api/MoodStationFetcher.js~MoodStationFetcher.html">MoodStationFetcher</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/api/SearchFetcher.js~SearchFetcher.html">SearchFetcher</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher.html">SharedPlaylistFetcher</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/api/TrackFetcher.js~TrackFetcher.html">TrackFetcher</a></span></span></li> <li data-ice="doc"><div data-ice="dirPath" class="nav-dir-path">auth</div><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/auth/Auth.js~Auth.html">Auth</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/auth/ClientCredentialsFlow.js~ClientCredentialsFlow.html">ClientCredentialsFlow</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/auth/TokenFetcher.js~TokenFetcher.html">TokenFetcher</a></span></span></li> </ul> </div> </nav> <div class="content" data-ice="content"><h1>Source <img data-ice="coverageBadge" src="./badge.svg"><span data-ice="totalCoverageCount" class="total-coverage-count">66/67</span></h1> <table class="files-summary" data-ice="files" data-use-coverage="true"> <thead> <tr> <td>File</td> <td>Identifier</td> <td class="coverage">Document</td> <td style="display: none;">Size</td> <td style="display: none;">Lines</td> <td style="display: none;">Updated</td> </tr> </thead> <tbody> <tr data-ice="file"> <td data-ice="filePath"><span><a href="file/src/Endpoint.js.html">src/Endpoint.js</a></span></td> <td data-ice="identifier" class="identifiers">-</td> <td class="coverage"><span data-ice="coverage">-</span></td> <td style="display: none;" data-ice="size">1268 byte</td> <td style="display: none;" data-ice="lines">73</td> <td style="display: none;" data-ice="updated">2017-07-04 10:31:05 (UTC)</td> </tr> <tr data-ice="file"> <td data-ice="filePath"><span><a href="file/src/SDK.js.html">src/SDK.js</a></span></td> <td data-ice="identifier" class="identifiers">-</td> <td class="coverage"><span data-ice="coverage">-</span></td> <td style="display: none;" data-ice="size">84 byte</td> <td style="display: none;" data-ice="lines">1</td> <td style="display: none;" data-ice="updated">2017-07-04 07:22:35 (UTC)</td> </tr> <tr data-ice="file"> <td data-ice="filePath"><span><a href="file/src/api/AlbumFetcher.js.html">src/api/AlbumFetcher.js</a></span></td> <td data-ice="identifier" class="identifiers"><span><a href="class/src/api/AlbumFetcher.js~AlbumFetcher.html">AlbumFetcher</a></span></td> <td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">5/5</span></td> <td style="display: none;" data-ice="size">1874 byte</td> <td style="display: none;" data-ice="lines">67</td> <td style="display: none;" data-ice="updated">2017-07-04 07:22:35 (UTC)</td> </tr> <tr data-ice="file"> <td data-ice="filePath"><span><a href="file/src/api/Api.js.html">src/api/Api.js</a></span></td> <td data-ice="identifier" class="identifiers"><span><a href="class/src/api/Api.js~Api.html">Api</a></span></td> <td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">10/10</span></td> <td style="display: none;" data-ice="size">1988 byte</td> <td style="display: none;" data-ice="lines">65</td> <td style="display: none;" data-ice="updated">2017-07-04 10:34:00 (UTC)</td> </tr> <tr data-ice="file"> <td data-ice="filePath"><span><a href="file/src/api/ArtistFetcher.js.html">src/api/ArtistFetcher.js</a></span></td> <td data-ice="identifier" class="identifiers"><span><a href="class/src/api/ArtistFetcher.js~ArtistFetcher.html">ArtistFetcher</a></span></td> <td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">5/5</span></td> <td style="display: none;" data-ice="size">2155 byte</td> <td style="display: none;" data-ice="lines">75</td> <td style="display: none;" data-ice="updated">2017-07-04 07:22:35 (UTC)</td> </tr> <tr data-ice="file"> <td data-ice="filePath"><span><a href="file/src/api/FeaturedPlaylistCategoryFetcher.js.html">src/api/FeaturedPlaylistCategoryFetcher.js</a></span></td> <td data-ice="identifier" class="identifiers"><span><a href="class/src/api/FeaturedPlaylistCategoryFetcher.js~FeaturedPlaylistCategoryFetcher.html">FeaturedPlaylistCategoryFetcher</a></span></td> <td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">5/5</span></td> <td style="display: none;" data-ice="size">2212 byte</td> <td style="display: none;" data-ice="lines">69</td> <td style="display: none;" data-ice="updated">2017-07-04 07:22:35 (UTC)</td> </tr> <tr data-ice="file"> <td data-ice="filePath"><span><a href="file/src/api/FeaturedPlaylistFetcher.js.html">src/api/FeaturedPlaylistFetcher.js</a></span></td> <td data-ice="identifier" class="identifiers"><span><a href="class/src/api/FeaturedPlaylistFetcher.js~FeaturedPlaylistFetcher.html">FeaturedPlaylistFetcher</a></span></td> <td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">2/2</span></td> <td style="display: none;" data-ice="size">885 byte</td> <td style="display: none;" data-ice="lines">30</td> <td style="display: none;" data-ice="updated">2017-07-04 07:22:35 (UTC)</td> </tr> <tr data-ice="file"> <td data-ice="filePath"><span><a href="file/src/api/Fetcher.js.html">src/api/Fetcher.js</a></span></td> <td data-ice="identifier" class="identifiers"><span><a href="class/src/api/Fetcher.js~Fetcher.html">Fetcher</a></span></td> <td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">4/4</span></td> <td style="display: none;" data-ice="size">1776 byte</td> <td style="display: none;" data-ice="lines">61</td> <td style="display: none;" data-ice="updated">2017-07-04 07:22:35 (UTC)</td> </tr> <tr data-ice="file"> <td data-ice="filePath"><span><a href="file/src/api/GenreStationFetcher.js.html">src/api/GenreStationFetcher.js</a></span></td> <td data-ice="identifier" class="identifiers"><span><a href="class/src/api/GenreStationFetcher.js~GenreStationFetcher.html">GenreStationFetcher</a></span></td> <td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">4/4</span></td> <td style="display: none;" data-ice="size">1704 byte</td> <td style="display: none;" data-ice="lines">58</td> <td style="display: none;" data-ice="updated">2017-07-04 07:22:35 (UTC)</td> </tr> <tr data-ice="file"> <td data-ice="filePath"><span><a href="file/src/api/HttpClient.js.html">src/api/HttpClient.js</a></span></td> <td data-ice="identifier" class="identifiers"><span><a href="class/src/api/HttpClient.js~HttpClient.html">HttpClient</a></span></td> <td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">4/4</span></td> <td style="display: none;" data-ice="size">1202 byte</td> <td style="display: none;" data-ice="lines">47</td> <td style="display: none;" data-ice="updated">2017-07-04 07:22:35 (UTC)</td> </tr> <tr data-ice="file"> <td data-ice="filePath"><span><a href="file/src/api/MoodStationFetcher.js.html#errorLines=42">src/api/MoodStationFetcher.js</a></span></td> <td data-ice="identifier" class="identifiers"><span><a href="class/src/api/MoodStationFetcher.js~MoodStationFetcher.html">MoodStationFetcher</a></span></td> <td class="coverage"><span data-ice="coverage">80 %</span><span data-ice="coverageCount" class="coverage-count">4/5</span></td> <td style="display: none;" data-ice="size">1535 byte</td> <td style="display: none;" data-ice="lines">54</td> <td style="display: none;" data-ice="updated">2017-07-04 07:22:35 (UTC)</td> </tr> <tr data-ice="file"> <td data-ice="filePath"><span><a href="file/src/api/SearchFetcher.js.html">src/api/SearchFetcher.js</a></span></td> <td data-ice="identifier" class="identifiers"><span><a href="class/src/api/SearchFetcher.js~SearchFetcher.html">SearchFetcher</a></span></td> <td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">4/4</span></td> <td style="display: none;" data-ice="size">6935 byte</td> <td style="display: none;" data-ice="lines">164</td> <td style="display: none;" data-ice="updated">2017-07-04 07:22:35 (UTC)</td> </tr> <tr data-ice="file"> <td data-ice="filePath"><span><a href="file/src/api/SharedPlaylistFetcher.js.html">src/api/SharedPlaylistFetcher.js</a></span></td> <td data-ice="identifier" class="identifiers"><span><a href="class/src/api/SharedPlaylistFetcher.js~SharedPlaylistFetcher.html">SharedPlaylistFetcher</a></span></td> <td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">5/5</span></td> <td style="display: none;" data-ice="size">1996 byte</td> <td style="display: none;" data-ice="lines">67</td> <td style="display: none;" data-ice="updated">2017-07-04 10:40:15 (UTC)</td> </tr> <tr data-ice="file"> <td data-ice="filePath"><span><a href="file/src/api/TrackFetcher.js.html">src/api/TrackFetcher.js</a></span></td> <td data-ice="identifier" class="identifiers"><span><a href="class/src/api/TrackFetcher.js~TrackFetcher.html">TrackFetcher</a></span></td> <td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">4/4</span></td> <td style="display: none;" data-ice="size">1237 byte</td> <td style="display: none;" data-ice="lines">50</td> <td style="display: none;" data-ice="updated">2017-07-04 07:22:35 (UTC)</td> </tr> <tr data-ice="file"> <td data-ice="filePath"><span><a href="file/src/auth/Auth.js.html">src/auth/Auth.js</a></span></td> <td data-ice="identifier" class="identifiers"><span><a href="class/src/auth/Auth.js~Auth.html">Auth</a></span></td> <td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">4/4</span></td> <td style="display: none;" data-ice="size">736 byte</td> <td style="display: none;" data-ice="lines">25</td> <td style="display: none;" data-ice="updated">2017-07-04 07:51:53 (UTC)</td> </tr> <tr data-ice="file"> <td data-ice="filePath"><span><a href="file/src/auth/ClientCredentialsFlow.js.html">src/auth/ClientCredentialsFlow.js</a></span></td> <td data-ice="identifier" class="identifiers"><span><a href="class/src/auth/ClientCredentialsFlow.js~ClientCredentialsFlow.html">ClientCredentialsFlow</a></span></td> <td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">2/2</span></td> <td style="display: none;" data-ice="size">614 byte</td> <td style="display: none;" data-ice="lines">25</td> <td style="display: none;" data-ice="updated">2017-07-04 07:22:35 (UTC)</td> </tr> <tr data-ice="file"> <td data-ice="filePath"><span><a href="file/src/auth/TokenFetcher.js.html">src/auth/TokenFetcher.js</a></span></td> <td data-ice="identifier" class="identifiers"><span><a href="class/src/auth/TokenFetcher.js~TokenFetcher.html">TokenFetcher</a></span></td> <td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">4/4</span></td> <td style="display: none;" data-ice="size">2146 byte</td> <td style="display: none;" data-ice="lines">71</td> <td style="display: none;" data-ice="updated">2017-07-04 07:22:35 (UTC)</td> </tr> <tr data-ice="file"> <td data-ice="filePath"><span><a href="file/src/catchError.js.html">src/catchError.js</a></span></td> <td data-ice="identifier" class="identifiers">-</td> <td class="coverage"><span data-ice="coverage">-</span></td> <td style="display: none;" data-ice="size">307 byte</td> <td style="display: none;" data-ice="lines">16</td> <td style="display: none;" data-ice="updated">2017-07-04 07:22:35 (UTC)</td> </tr> </tbody> </table> </div> <footer class="footer"> Generated by <a href="https://esdoc.org">ESDoc<span data-ice="esdocVersion">(0.5.2)</span><img src="./image/esdoc-logo-mini-black.png"></a> </footer> <script src="script/search_index.js"></script> <script src="script/search.js"></script> <script src="script/pretty-print.js"></script> <script src="script/inherited-summary.js"></script> <script src="script/test-summary.js"></script> <script src="script/inner-link.js"></script> <script src="script/patch-for-local.js"></script> </body> </html>