Skip to content

Commit

Permalink
Regenerate the client library according to the new specs
Browse files Browse the repository at this point in the history
  • Loading branch information
the-maestro-bot committed Dec 20, 2023
1 parent 16ca7d7 commit c7b7a8b
Show file tree
Hide file tree
Showing 275 changed files with 1,021 additions and 20,462 deletions.
2 changes: 1 addition & 1 deletion .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ src/models/Episode.ts
src/models/Genre.ts
src/models/GenresResponseSchema.ts
src/models/GetResponseSchema.ts
src/models/ImageSet.ts
src/models/Locale.ts
src/models/NotFoundResponseSchema.ts
src/models/Price.ts
Expand All @@ -26,7 +27,6 @@ src/models/Season.ts
src/models/SeriesStatus.ts
src/models/Service.ts
src/models/ServiceCountryInfo.ts
src/models/ServiceImages.ts
src/models/ServicesResponseSchema.ts
src/models/Show.ts
src/models/StreamingOption.ts
Expand Down
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This client can be used in both JavaScript and TypeScript projects; and both in

## Streaming Availability API

Streaming Availability API allows getting streaming availability information of movies and series; and querying the list of available shows on streaming services such as Netflix, Disney+, Apple TV, Max and Hulu across 58 countries!
Streaming Availability API allows getting streaming availability information of movies and series; and querying the list of available shows on streaming services such as Netflix, Disney+, Apple TV, Max and Hulu across 59 countries!

### API Key

Expand Down Expand Up @@ -67,7 +67,7 @@ npm i streaming-availability
### Browser

```html
<script src="https://cdn.jsdelivr.net/gh/movieofthenight/ts-streaming-availability@v2.1.1/bundle.js"></script>
<script src="https://cdn.jsdelivr.net/gh/movieofthenight/ts-streaming-availability@v3.0.0/bundle.js"></script>
```

This script creates a global variable at `window.streamingAvailability`
Expand Down Expand Up @@ -116,7 +116,7 @@ const client = new streamingAvailability.DefaultApi(new streamingAvailability.Co
<title>Streaming Availability API In Browser Example</title>
</head>
<body>
<script src="https://cdn.jsdelivr.net/gh/movieofthenight/[email protected].0/bundle.js"></script>
<script src="https://cdn.jsdelivr.net/gh/movieofthenight/[email protected].1/bundle.js"></script>
<script>
const RAPID_API_KEY = "PUT_YOUR_RAPIDAPI_KEY_HERE";
const client = new streamingAvailability.DefaultApi(new streamingAvailability.Configuration({apiKey: RAPID_API_KEY}));
Expand All @@ -142,7 +142,7 @@ const RAPID_API_KEY = "PUT_YOUR_RAPIDAPI_KEY_HERE";

const client = new streamingAvailability.DefaultApi(new streamingAvailability.Configuration({apiKey: RAPID_API_KEY}));

const country = "us"; // Update with other country codes as you want, we support 58 countries!
const country = "us"; // Update with other country codes as you want, we support 59 countries!

const imdbId = "tt0468569";

Expand Down Expand Up @@ -239,8 +239,8 @@ RapidAPI and start using the Streaming Availability API through RapidAPI right a

| Service Id | Service Name | Supported Countries |
| ---------- | ------------ | ------------------- |
| `netflix` | Netflix | 57 Countries |
| `prime` | Amazon Prime Video | 56 Countries |
| `netflix` | Netflix | 58 Countries |
| `prime` | Prime Video | 56 Countries |
| `disney` | Disney+ | 35 Countries |
| `hbo` | HBO Max | 24 Countries |
| `hulu` | Hulu | United States |
Expand Down Expand Up @@ -318,6 +318,7 @@ RapidAPI and start using the Streaming Availability API through RapidAPI right a
| `ru` | Russia |
| `se` | Sweden |
| `sg` | Singapore |
| `si` | Slovenia |
| `th` | Thailand |
| `tr` | Turkey |
| `ua` | Ukraine |
Expand Down
280 changes: 142 additions & 138 deletions bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/assets/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/assets/navigation.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/assets/search.js

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions docs/assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
--light-color-text-aside: #6e6e6e;
--light-color-link: #1f70c2;

--light-color-ts-keyword: #056bd6;
--light-color-ts-project: #b111c9;
--light-color-ts-module: var(--light-color-ts-project);
--light-color-ts-namespace: var(--light-color-ts-project);
Expand Down Expand Up @@ -50,6 +51,7 @@
--dark-color-text-aside: #dddddd;
--dark-color-link: #00aff4;

--dark-color-ts-keyword: #3399ff;
--dark-color-ts-project: #e358ff;
--dark-color-ts-module: var(--dark-color-ts-project);
--dark-color-ts-namespace: var(--dark-color-ts-project);
Expand Down Expand Up @@ -91,6 +93,7 @@
--color-text-aside: var(--light-color-text-aside);
--color-link: var(--light-color-link);

--color-ts-keyword: var(--light-color-ts-keyword);
--color-ts-module: var(--light-color-ts-module);
--color-ts-namespace: var(--light-color-ts-namespace);
--color-ts-enum: var(--light-color-ts-enum);
Expand Down Expand Up @@ -132,6 +135,7 @@
--color-text-aside: var(--dark-color-text-aside);
--color-link: var(--dark-color-link);

--color-ts-keyword: var(--dark-color-ts-keyword);
--color-ts-module: var(--dark-color-ts-module);
--color-ts-namespace: var(--dark-color-ts-namespace);
--color-ts-enum: var(--dark-color-ts-enum);
Expand Down Expand Up @@ -180,6 +184,7 @@ body {
--color-text-aside: var(--light-color-text-aside);
--color-link: var(--light-color-link);

--color-ts-keyword: var(--light-color-ts-keyword);
--color-ts-module: var(--light-color-ts-module);
--color-ts-namespace: var(--light-color-ts-namespace);
--color-ts-enum: var(--light-color-ts-enum);
Expand Down Expand Up @@ -219,6 +224,7 @@ body {
--color-text-aside: var(--dark-color-text-aside);
--color-link: var(--dark-color-link);

--color-ts-keyword: var(--dark-color-ts-keyword);
--color-ts-module: var(--dark-color-ts-module);
--color-ts-namespace: var(--dark-color-ts-namespace);
--color-ts-enum: var(--dark-color-ts-enum);
Expand Down Expand Up @@ -984,6 +990,11 @@ a.tsd-index-link {
overflow-x: auto;
}

.tsd-signature-keyword {
color: var(--color-ts-keyword);
font-weight: normal;
}

.tsd-signature-symbol {
color: var(--color-text-aside);
font-weight: normal;
Expand Down
Loading

0 comments on commit c7b7a8b

Please sign in to comment.