Skip to content

Latest commit

 

History

History
77 lines (49 loc) · 2.1 KB

CalendarFeedAPI.md

File metadata and controls

77 lines (49 loc) · 2.1 KB

\CalendarFeedAPI

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

Method HTTP request Description
GetFeedV3CalendarRadarrIcs Get /feed/v3/calendar/radarr.ics

GetFeedV3CalendarRadarrIcs

GetFeedV3CalendarRadarrIcs(ctx).PastDays(pastDays).FutureDays(futureDays).Tags(tags).Unmonitored(unmonitored).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	radarrClient "github.com/devopsarr/radarr-go/radarr"
)

func main() {
	pastDays := int32(56) // int32 |  (optional) (default to 7)
	futureDays := int32(56) // int32 |  (optional) (default to 28)
	tags := "tags_example" // string |  (optional) (default to "")
	unmonitored := true // bool |  (optional) (default to false)

	configuration := radarrClient.NewConfiguration()
	apiClient := radarrClient.NewAPIClient(configuration)
	r, err := apiClient.CalendarFeedAPI.GetFeedV3CalendarRadarrIcs(context.Background()).PastDays(pastDays).FutureDays(futureDays).Tags(tags).Unmonitored(unmonitored).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `CalendarFeedAPI.GetFeedV3CalendarRadarrIcs``: %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 apiGetFeedV3CalendarRadarrIcsRequest struct via the builder pattern

Name Type Description Notes
pastDays int32 [default to 7]
futureDays int32 [default to 28]
tags string [default to ""]
unmonitored bool [default to false]

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]