All URIs are relative to http://localhost:5055/api/v1
| Method | HTTP request | Description |
|---|---|---|
| GetKeywordByKeywordId | Get /keyword/{keywordId} | Get keyword |
| ListWatchprovidersMovies | Get /watchproviders/movies | Get watch provider movies |
| ListWatchprovidersRegions | Get /watchproviders/regions | Get watch provider regions |
| ListWatchprovidersTv | Get /watchproviders/tv | Get watch provider series |
Keyword GetKeywordByKeywordId(ctx, keywordId).Execute()
Get keyword
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
keywordId := float32(1) // float32 |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.OtherAPI.GetKeywordByKeywordId(context.Background(), keywordId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `OtherAPI.GetKeywordByKeywordId``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetKeywordByKeywordId`: Keyword
fmt.Fprintf(os.Stdout, "Response from `OtherAPI.GetKeywordByKeywordId`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| keywordId | float32 |
Other parameters are passed through a pointer to a apiGetKeywordByKeywordIdRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]WatchProviderDetails ListWatchprovidersMovies(ctx).WatchRegion(watchRegion).Execute()
Get watch provider movies
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
watchRegion := "US" // string |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.OtherAPI.ListWatchprovidersMovies(context.Background()).WatchRegion(watchRegion).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `OtherAPI.ListWatchprovidersMovies``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListWatchprovidersMovies`: []WatchProviderDetails
fmt.Fprintf(os.Stdout, "Response from `OtherAPI.ListWatchprovidersMovies`: %v\n", resp)
}Other parameters are passed through a pointer to a apiListWatchprovidersMoviesRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| watchRegion | string |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]WatchProviderRegion ListWatchprovidersRegions(ctx).Execute()
Get watch provider regions
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.OtherAPI.ListWatchprovidersRegions(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `OtherAPI.ListWatchprovidersRegions``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListWatchprovidersRegions`: []WatchProviderRegion
fmt.Fprintf(os.Stdout, "Response from `OtherAPI.ListWatchprovidersRegions`: %v\n", resp)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiListWatchprovidersRegionsRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]WatchProviderDetails ListWatchprovidersTv(ctx).WatchRegion(watchRegion).Execute()
Get watch provider series
package main
import (
"context"
"fmt"
"os"
overseerrClient "github.com/devopsarr/overseerr-go/overseerr"
)
func main() {
watchRegion := "US" // string |
configuration := overseerrClient.NewConfiguration()
apiClient := overseerrClient.NewAPIClient(configuration)
resp, r, err := apiClient.OtherAPI.ListWatchprovidersTv(context.Background()).WatchRegion(watchRegion).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `OtherAPI.ListWatchprovidersTv``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListWatchprovidersTv`: []WatchProviderDetails
fmt.Fprintf(os.Stdout, "Response from `OtherAPI.ListWatchprovidersTv`: %v\n", resp)
}Other parameters are passed through a pointer to a apiListWatchprovidersTvRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| watchRegion | string |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]