flixhq-api 1.0.0 → 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 +6 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  A specialized Node.js library that provides an API for obtaining movie and TV show information, including metadata, seasons, episodes, and streaming sources from FlixHQ.
4
4
 
5
- [![npm version](https://img.shields.io/npm/v/@sn5u/flixhq-api.svg)](https://www.npmjs.com/package/@sn5u/flixhq-api)
6
- ![NPM Downloads](https://img.shields.io/npm/dt/@sn5u/flixhq-api)
5
+ [![npm version](https://img.shields.io/npm/v/flixhq-api.svg)](https://www.npmjs.com/package/flixhq-api)
6
+ ![NPM Downloads](https://img.shields.io/npm/dt/flixhq-api)
7
7
 
8
8
  ## Features
9
9
 
@@ -17,7 +17,7 @@ A specialized Node.js library that provides an API for obtaining movie and TV sh
17
17
  ## Installation
18
18
 
19
19
  ```bash
20
- npm i @sn5u/flixhq-api
20
+ npm i flixhq-api
21
21
 
22
22
  ```
23
23
 
@@ -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,6 +1,6 @@
1
1
  {
2
2
  "name": "flixhq-api",
3
- "version": "1.0.0",
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": {