All URIs are relative to http://localhost:7878
Method | HTTP request | Description |
---|---|---|
GetLocalization | Get /api/v3/localization | |
GetLocalizationLanguage | Get /api/v3/localization/language |
string GetLocalization(ctx).Execute()
package main
import (
"context"
"fmt"
"os"
radarrClient "github.com/devopsarr/radarr-go/radarr"
)
func main() {
configuration := radarrClient.NewConfiguration()
apiClient := radarrClient.NewAPIClient(configuration)
resp, r, err := apiClient.LocalizationAPI.GetLocalization(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `LocalizationAPI.GetLocalization``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetLocalization`: string
fmt.Fprintf(os.Stdout, "Response from `LocalizationAPI.GetLocalization`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetLocalizationRequest struct via the builder pattern
string
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LocalizationLanguageResource GetLocalizationLanguage(ctx).Execute()
package main
import (
"context"
"fmt"
"os"
radarrClient "github.com/devopsarr/radarr-go/radarr"
)
func main() {
configuration := radarrClient.NewConfiguration()
apiClient := radarrClient.NewAPIClient(configuration)
resp, r, err := apiClient.LocalizationAPI.GetLocalizationLanguage(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `LocalizationAPI.GetLocalizationLanguage``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetLocalizationLanguage`: LocalizationLanguageResource
fmt.Fprintf(os.Stdout, "Response from `LocalizationAPI.GetLocalizationLanguage`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetLocalizationLanguageRequest 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]