-
-
Notifications
You must be signed in to change notification settings - Fork 55
NNTmux API version 2
DariusIII edited this page Jun 5, 2018
·
1 revision
Version 2 API of NNTmux is an effort to make the API more responsive, with different endpoints related to different types of API requests, and to reduce the clutter in requests that old newznab api has.
Goal was to remove, as much as possible, various parts of requests.
Lets compare old newznab api and the new NNTmux version 2 API:
newznab:
siteaddr/api?t=movies&q=somemoviename&extended=1 (we are searching for a movie with extended info)
NNTmux version 2:
siteaddr/api/v2/movies&id=somemoviename (returns same data, nntmux always returns extended info)
Newznab has a XML/JSON output, but JSON is generated from XML, while NNTmux version 2 API always returns JSON encoded data.
Documentation, with examples, can be viewed HERE