flixhq-api 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -169,10 +169,10 @@ Get available streaming servers for a movie or episode.
169
169
 
170
170
  ```javascript
171
171
  // For a movie
172
- const servers = await flixhq.getServers("12345", "movie");
172
+ const servers = await flixhq.getServers("12345", "movie"); // id of movie
173
173
 
174
174
  // For an episode
175
- const servers = await flixhq.getServers("episode-id-67890", "tv");
175
+ const servers = await flixhq.getServers("67890", "tv"); //id of episode returned from getEpisodes(seasonId)
176
176
 
177
177
  ```
178
178
 
@@ -181,7 +181,7 @@ const servers = await flixhq.getServers("episode-id-67890", "tv");
181
181
  Extracts the streaming link (m3u8) for a specific server ID.
182
182
 
183
183
  ```javascript
184
- const source = await flixhq.fetchSource("server-id-54321");
184
+ const source = await flixhq.fetchSource("54321"); / sourceID of getServers(contentId, type)
185
185
  /* Returns:
186
186
  {
187
187
  source: "https://.../master.m3u8",
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "flixhq-api",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "A robust Node.js API for scraping movies, TV shows, and streaming sources from FlixHQ.",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
8
8
  },
9
9
  "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/staticsenju/flixhq-api.git"
10
+ "type": "git",
11
+ "url": "git+https://github.com/staticsenju/flixhq-api.git"
12
12
  },
13
13
  "homepage": "https://github.com/staticsenju/flixhq-api#readme",
14
14
  "bugs": {
15
- "url": "https://github.com/staticsenju/flixhq-api/issues"
15
+ "url": "https://github.com/staticsenju/flixhq-api/issues"
16
16
  },
17
17
  "keywords": [
18
18
  "flixhq",