mirror of
https://github.com/gabehf/sonarr-anime-importer.git
synced 2026-03-07 13:38:15 -08:00
No description
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| main.go | ||
| README.md | ||
sonarr-mal-importer
This is basically a wrapper for Jikan that converts a Jikan API call to a list with TVDB IDs that Sonarr can import the results.
This API will spam calls that have pagination so make sure you set a limit in the query parameters so you don't get rate limited or IP banned!!
Pulls MyAnimeList and TVDB ID associations from https://raw.githubusercontent.com/Kometa-Team/Anime-IDs/master/anime_ids.json.
Supported Requests
GET /anime
See https://docs.api.jikan.moe/#tag/anime/operation/getAnimeSearch for parameters.
Example request:
# fetches the top 10 most popular currently airing tv anime
curl "http://localhost:3333/anime?type=tv&status=airing&order_by=popularity&sort=asc&limit=10"
Docker Compose
services:
sonarr-mal-importer:
image: gabehf/sonarr-mal-importer:latest
container_name: sonarr-mal-importer
ports:
- 3333:3333
restart: unless-stopped