Skip to content

Commit 2f2f02f

Browse files
author
AJ Hsu
committed
Minor tweaks
1 parent c7de0f6 commit 2f2f02f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The SDK helps you to access various metadata from KKBOX, including tracks, album
1111
Install the SDK using npm
1212

1313
```bash
14-
npm install @kkbox/kkbox-js-sdk
14+
$ npm install @kkbox/kkbox-js-sdk
1515
```
1616

1717
### Usage example
@@ -35,13 +35,15 @@ auth.clientCredentialsFlow
3535
.setSearchCriteria('五月天 派對動物', 'track')
3636
.fetchSearchResult()
3737
.then(response => {
38+
3839
// Content from the KKBOX Open API
3940
console.log(response.data);
4041

4142
// Continue to the next page
4243
api.searchFetcher.fetchNextPage(response).then(response => {
4344
console.log(response.data);
4445
});
46+
4547
});
4648
});
4749
```
@@ -67,7 +69,7 @@ It may look like
6769

6870
Run the test:
6971
``` bash
70-
npm run test
72+
$ npm test
7173
```
7274

7375
### Documentation

0 commit comments

Comments
 (0)