Comparing version 0.0.12 to 0.0.13
{ | ||
"name": "rt-sdk", | ||
"description": "", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
@@ -18,9 +18,11 @@ # rt-sdk | ||
```js | ||
// Import the rt-sdk | ||
const rt = require('rt-sdk'); | ||
``` | ||
- Use one of the available methods listed below to start building! | ||
> Remember that all `rt-sdk` methods return a [Promise()](https://developers.google.com/web/fundamentals/primers/promises) | ||
- Remember that all `rt-sdk` methods return a [Promise()](https://developers.google.com/web/fundamentals/primers/promises) | ||
- Also remember that the `options` object isn't required... [its.. optional.](https://www.youtube.com/watch?v=LQ59UVFQJII) | ||
### Get all seasons of a specific show | ||
rt.seasons() takes a show slug. | ||
rt.seasons() takes a show slug (and `options`). | ||
```js | ||
@@ -43,3 +45,3 @@ const options = { | ||
### Get all episodes of a specific season | ||
rt.season() takes a season slug | ||
rt.season() takes a season slug (and `options`). | ||
```js | ||
@@ -57,3 +59,3 @@ rt.season('always-open-2018') | ||
### Get a specific episode | ||
rt.episode() takes an episode slug. | ||
rt.episode() takes an episode slug (and `options`). | ||
```js | ||
@@ -60,0 +62,0 @@ rt.episode('lets-play-2012-16') |
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
42080
145