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 Sep 28, 2024
1 parent af68003 commit 26d1237
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ or popularity over different time periods
(e.g.: get the all-time most popular movies on Netflix US,
get the most popular series in the last 7 days
on Amazon Prime and Disney+ in the United Kingdom)
- Get the list of upcoming & expiring titles
- Get the daily Top 10 lists
- Returned streaming availability info includes:
- Deep links into the streaming services for
movies, series, seasons and episodes,
Expand Down Expand Up @@ -194,6 +196,9 @@ If you have any questions or need further assistance, please don't hesitate to r

## FAQ

- **How often the data is updated?**
- The data is updated daily.

- **I run into an issue. How can I get help?**
- If the issue is related to the API itself, please create a post
[here](https://rapidapi.com/movie-of-the-night-movie-of-the-night-default/api/streaming-availability/discussions),
Expand Down Expand Up @@ -231,8 +236,8 @@ RapidAPI and start using the Streaming Availability API through RapidAPI right a
| ---------- | ------------ | ------------------- |
| `netflix` | Netflix | 59 Countries |
| `prime` | Prime Video | 56 Countries |
| `disney` | Disney+ | 51 Countries |
| `hbo` | Max | 24 Countries |
| `disney` | Disney+ | 46 Countries |
| `hbo` | Max | 28 Countries |
| `hulu` | Hulu | United States |
| `peacock` | Peacock | United States |
| `paramount` | Paramount+ | 18 Countries |
Expand Down
4 changes: 2 additions & 2 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -560,8 +560,8 @@ components:
searchFiltersOrderByParam:
description: |
Determines the ordering of the shows.
Make sure to set descending_order parameter as true when ordering by popularity or rating
so that shows with the highest popularity or rating will be returned first.
You can switch between ascending and descending order by using the order_direction parameter.
explode: true
in: query
name: order_by
Expand Down
2 changes: 1 addition & 1 deletion api_shows.go

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

2 changes: 1 addition & 1 deletion configuration.go

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

4 changes: 2 additions & 2 deletions docs/ShowsAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func main() {
ratingMax := int32(80.0) // int32 | Maximum rating of the shows. (optional)
keyword := "zombie" // string | A keyword to only search within the shows have that keyword in their overview or title. (optional)
seriesGranularity := "seriesGranularity_example" // string | series_granularity determines the level of detail for series. It does not affect movies. If series_granularity is show, then the output will not include season and episode info. If series_granularity is season, then the output will include season info but not episode info. If series_granularity is episode, then the output will include season and episode info. If you do not need season and episode info, then it is recommended to set series_granularity as show to reduce the size of the response and increase the performance of the endpoint. If you need deep links for individual seasons and episodes, then you should set series_granularity as episode. In this case response will include full streaming info for seasons and episodes, similar to the streaming info for movies and series; including deep links into seasons and episodes, individual subtitle/audio and video quality info etc. (optional) (default to "show")
orderBy := "orderBy_example" // string | Determines the ordering of the shows. Make sure to set descending_order parameter as true when ordering by popularity or rating so that shows with the highest popularity or rating will be returned first. (optional) (default to "original_title")
orderBy := "orderBy_example" // string | Determines the ordering of the shows. You can switch between ascending and descending order by using the order_direction parameter. (optional) (default to "original_title")
orderDirection := openapiclient.orderDirection("asc") // OrderDirection | Determines whether to order the results in ascending or descending order. Default value when ordering alphabetically or based on dates/times is asc. Default value when ordering by rating or popularity is desc. (optional)
cursor := "cursor_example" // string | Cursor is used for pagination. After each request, the response includes a hasMore boolean field to tell if there are more results that did not fit into the returned list. If it is set as true, to get the rest of the result set, send a new request (with the same parameters for other fields), and set the cursor parameter as the nextCursor value of the response of the previous request. Do not forget to escape the cursor value before putting it into a query as it might contain characters such as ?and &. The first request naturally does not require a cursor parameter. (optional)

Expand Down Expand Up @@ -233,7 +233,7 @@ Name | Type | Description | Notes
**ratingMax** | **int32** | Maximum rating of the shows. |
**keyword** | **string** | A keyword to only search within the shows have that keyword in their overview or title. |
**seriesGranularity** | **string** | series_granularity determines the level of detail for series. It does not affect movies. If series_granularity is show, then the output will not include season and episode info. If series_granularity is season, then the output will include season info but not episode info. If series_granularity is episode, then the output will include season and episode info. If you do not need season and episode info, then it is recommended to set series_granularity as show to reduce the size of the response and increase the performance of the endpoint. If you need deep links for individual seasons and episodes, then you should set series_granularity as episode. In this case response will include full streaming info for seasons and episodes, similar to the streaming info for movies and series; including deep links into seasons and episodes, individual subtitle/audio and video quality info etc. | [default to "show"]
**orderBy** | **string** | Determines the ordering of the shows. Make sure to set descending_order parameter as true when ordering by popularity or rating so that shows with the highest popularity or rating will be returned first. | [default to "original_title"]
**orderBy** | **string** | Determines the ordering of the shows. You can switch between ascending and descending order by using the order_direction parameter. | [default to "original_title"]
**orderDirection** | [**OrderDirection**](OrderDirection.md) | Determines whether to order the results in ascending or descending order. Default value when ordering alphabetically or based on dates/times is asc. Default value when ordering by rating or popularity is desc. |
**cursor** | **string** | Cursor is used for pagination. After each request, the response includes a hasMore boolean field to tell if there are more results that did not fit into the returned list. If it is set as true, to get the rest of the result set, send a new request (with the same parameters for other fields), and set the cursor parameter as the nextCursor value of the response of the previous request. Do not forget to escape the cursor value before putting it into a query as it might contain characters such as ?and &. The first request naturally does not require a cursor parameter. |

Expand Down

0 comments on commit 26d1237

Please sign in to comment.