Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Starr Library: Fully functional go package to interact with Lidarr, Prowlarr, Radarr, Readarr, and Sonarr APIs.

License

NotificationsYou must be signed in to change notification settings

golift/starr

Repository files navigation

GoDocGo Report CardMIT Licensediscord

The correct way to say*arr.

Go library to interact with APIs in all the Starr apps.

Custom Scripts support is also included.Check out the types and methods to get that data.

One 🌟 To Rule Them All

This library is slowly updated as new methods are needed or requested. If you havespecific needs this library doesn't currently meet, but should or could, pleaselet us know!

This library is currently in use by:

Usage

Get it:

go get golift.io/starr

Use it:

import"golift.io/starr"

Example

package mainimport ("fmt""golift.io/starr""golift.io/starr/lidarr")funcmain() {// Get a starr.Config that can plug into any Starr app.// starr.New(apiKey, appURL string, timeout time.Duration)c:=starr.New("abc1234ahsuyka123jh12","http://localhost:8686",0)// Lets make a lidarr server with the default starr Config.l:=lidarr.New(c)// In addition to GetSystemStatus, you have things like:// * l.GetAlbum(albumID int)// * l.GetQualityDefinition()// * l.GetQualityProfiles()// * l.GetRootFolders()// * l.GetQueue(maxRecords int)// * l.GetAlbum(albumUUID string)// * l.GetArtist(artistUUID string)status,err:=l.GetSystemStatus()iferr!=nil {panic(err)}fmt.Println(status)}

About

Starr Library: Fully functional go package to interact with Lidarr, Prowlarr, Radarr, Readarr, and Sonarr APIs.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp