Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skynewz/radarr
Radarr Go client
https://github.com/skynewz/radarr
go go-package golang radarr radarr-api
Last synced: about 7 hours ago
JSON representation
Radarr Go client
- Host: GitHub
- URL: https://github.com/skynewz/radarr
- Owner: SkYNewZ
- License: gpl-3.0
- Created: 2020-04-04T20:07:50.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-09T00:28:08.000Z (almost 4 years ago)
- Last Synced: 2024-06-21T18:08:25.188Z (5 months ago)
- Topics: go, go-package, golang, radarr, radarr-api
- Language: Go
- Homepage: https://pkg.go.dev/github.com/SkYNewZ/radarr
- Size: 162 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: history.go
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Radarr Go client
[![](https://github.com/SkYNewZ/radarr/workflows/CD/badge.svg)](https://github.com/SkYNewZ/radarr/actions)
[![](https://gocover.io/_badge/github.com/skynewz/radarr)](https://gocover.io/github.com/SkYNewZ/radarr)
[![Go Report Card](https://goreportcard.com/badge/github.com/SkYNewZ/radarr)](https://goreportcard.com/report/github.com/SkYNewZ/radarr)
![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/skynewz/radarr)
[![Godoc](https://godoc.org/github.com/SkYNewZ/radarr?status.svg)](https://godoc.org/github.com/SkYNewZ/radarr)
[![Docker Pulls](https://img.shields.io/docker/pulls/skynewz/radarr)](https://hub.docker.com/r/skynewz/radarr)
[![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/skynewz/radarr)](https://github.com/SkYNewZ/radarr/releases)This is a Go package that lets you to interact with your Radarr instance.
Developed for [Radarr API v2](https://github.com/Radarr/Radarr/wiki/API).Radarr API v3 is under construction. See [here](https://github.com/orgs/Radarr/projects/2) and [here](https://www.reddit.com/r/radarr/comments/ejjiw2/api_v3/).
You can use it as CLI. See [related section](cmd/radarr)
## Supports
Here are the currently supported endpoints:
- [x] Calendar
- [ ] Command
- [x] Diskspace
- [x] History
- [ ] Movie
- [x] Returns all Movies in your collection
- [x] Returns the movie with the matching ID or 404 if no matching movie is found
- [ ] Adds a new movie to your collection
- [ ] Update an existing movie
- [x] Delete the movie with the given ID
- [x] Movie Lookup
- [ ] Queue
- [x] List Exclusions
- [x] System-Status## Getting started
```go
package mainimport (
"fmt"
"log""github.com/SkYNewZ/radarr"
)// Instantiate a standard client
func main() {
client, err := radarr.New("https://my.radarr-instance.fr", "radarr-api-key", nil)
if err != nil {
log.Fatalln(err)
}movie, err := client.Movies.Get(217)
if err != nil {
log.Fatalln(err)
}
fmt.Printf("%s", movie.Title)// Output:
// Frozen II
}
```