Comparing version 0.0.6 to 0.0.7
{ | ||
"name": "rt-sdk", | ||
"description": "", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
@@ -23,7 +23,7 @@ # rt-sdk | ||
### Get all seasons of a specific show | ||
rt.seasons() takes a show uuid or season slug | ||
rt.seasons() takes a show slug | ||
```js | ||
rt.seasons('rt-podcast') | ||
.then(seasons => { | ||
for (let season in seasons) { | ||
for (let season of seasons) { | ||
console.log(season.attributes.title); | ||
@@ -35,7 +35,7 @@ } | ||
### Get all episodes of a specific season | ||
rt.season() takes a season uuid or season slug | ||
rt.season() takes a season slug | ||
```js | ||
rt.season('always-open-2018') | ||
.then(episodes => { | ||
for (let episode in episodes) { | ||
for (let episode of episodes) { | ||
console.log(episode.attributes.title); | ||
@@ -42,0 +42,0 @@ console.log(episode.attributes.description); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39493