Hi,
I'm the developer for an open-source iOS application for managing usenet applications (including related services like Radarr, Sonarr, etc.)
I've gotten a few requests to support Bazarr, but can't seem to find any documentation on an API. Is there an API available for Bazarr, and if so is there any documentation available anywhere for it?
Thanks!
Hey,
Currently Bazarr API is really limited to only meet Oscarr requirements:
/api/series/wanted/api/series/history/api/movies/wanted/api/movies/historyThose endpoint currently return the 10 most recent items in a JSON array. No authentification required.
I'm currently reworking the whole UI that will be based on REST API. If you have further requirements, I can see how I can implement them.
Thanks a lot for the quick response!
If you'll be releasing a new API in the near future, I may as well wait for that.
Ideally the "requirements" for the API would be similar to the other -rr services, inwhich you can view series and movies, the state of their downloaded status, and the ability to trigger a download of subtitles.
You'll be able to do all that with the future API. I suggest you wait for the new API because the actual API won't match your expectations.
@morpheus65535 Hey, just wondering if there is any update on the new API? Thanks!
@JagandeepBrar Hey, in fact it could be considered almost final but is yet undocumented and will be available only in Bazarr 0.9 or greater. You can take a look at the code there:
https://github.com/morpheus65535/bazarr/blob/hermes/bazarr/api.py
The API require authentication using API key that can be passed as query string argument for GET request (?apikey=#####) or as POST data.
Most helpful comment
You'll be able to do all that with the future API. I suggest you wait for the new API because the actual API won't match your expectations.