Starr
Starr Library: Fully functional go package to interact with Lidarr, Prowlarr, Radarr, Readarr, and Sonarr APIs.
Install / Use
/learn @golift/StarrREADME
Starr Library
The correct way to say *arr.
Go library to interact with APIs in all the Starr apps.
- Lidarr (over 80 methods)
- Prowlarr (over 20 methods)
- Radarr (over 100 methods)
- Readarr (over 70 methods)
- Sonarr (over 100 methods)
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 have specific needs this library doesn't currently meet, but should or could, please let us know!
This library is currently in use by:
- Toolbarr (all of it)
- Unpackerr (queue only)
- Notifiarr (a lot of it)
- Checkrr
- telegram-bot (radarr)
- telegram-bot2 (sonarr)
Usage
Get it:
go get golift.io/starr
Use it:
import "golift.io/starr"
Example
package main
import (
"fmt"
"golift.io/starr"
"golift.io/starr/lidarr"
)
func main() {
// 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()
if err != nil {
panic(err)
}
fmt.Println(status)
}
Related Skills
node-connect
341.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
xurl
341.2kA CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.
frontend-design
84.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
