Skip to content

Latest commit

 

History

History
71 lines (43 loc) · 1.5 KB

File metadata and controls

71 lines (43 loc) · 1.5 KB

\BookLookupAPI

All URIs are relative to http://localhost:8787

Method HTTP request Description
GetBookLookup Get /api/v1/book/lookup

GetBookLookup

GetBookLookup(ctx).Term(term).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	readarrClient "github.com/devopsarr/readarr-go/readarr"
)

func main() {
	term := "term_example" // string |  (optional)

	configuration := readarrClient.NewConfiguration()
	apiClient := readarrClient.NewAPIClient(configuration)
	r, err := apiClient.BookLookupAPI.GetBookLookup(context.Background()).Term(term).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `BookLookupAPI.GetBookLookup``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
}

Path Parameters

Other Parameters

Other parameters are passed through a pointer to a apiGetBookLookupRequest struct via the builder pattern

Name Type Description Notes
term string

Return type

(empty response body)

Authorization

apikey, X-Api-Key

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]