XxUnkn0wnxX

NZB.su API

Jan 13th, 2016
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.13 KB | None | 0 0
  1. AVAILABLE FUNCTIONS
  2. Use the parameter ?t= to specify the function being called.
  3.  
  4. SERVER FUNCTIONS
  5. Capabilities ?t=caps
  6. Reports the capabilities if the server. Includes information about the server name, available search categories and version number of the newznab protocol being used.
  7. Capabilities does not require any credentials in order to be ran.
  8. USER FUNCTIONS
  9. Register ?t=register&[email protected]
  10. Registers a new user account. Does not require any credentials in order to be ran.
  11. Returns either the registered username and password if successful or an error code.
  12. User ?t=user&username=user123
  13. Returns public information about a user.
  14. Returns either the user information or an error code.
  15. Cart rss?t=-2&del=1
  16. Returns the items in a users cart in the form of an rss feed. The optional parameter &del=1 will remove the items from the cart after the feed is requested.
  17. CartAdd ?t=cartadd&id=9ca52909ba9b9e5e6758d815fef4ecda
  18. Adds an nzb to a users cart.
  19. CartDelete ?t=cartdel&id=9ca52909ba9b9e5e6758d815fef4ecda
  20. Remove an nzb from a users cart.
  21. SEARCH FUNCTIONS
  22. Search ?t=search&q=linux
  23. Returns a list of nzbs matching a query. You can also filter by site category or group name by including a comma separated list as follows ?t=search&cat=1000,2000&group=a.b.multimedia. Include &extended=1 to return extended information in the search results.
  24. TV ?t=tvsearch&q=beverly%20hillbillies&season=1&ep=1
  25. Returns a list of nzbs matching a query, category, tvrageid, season or episode. You can also filter by site category by including a comma separated list of categories as follows ?t=tvsearch&rid=2204&cat=1000,2000. Include &extended=1 to return extended information in the search results.
  26. Movies ?t=movie&imdbid=0023010
  27. Returns a list of nzbs matching a query, an imdbid and optionally a category or genre. Filter by site category by including a comma separated list of categories as follows ?t=movie&imdbid=0023010&cat=2030,2040&genre=Romance. Include &extended=1 to return extended information in the search results.
  28. Music ?t=music&artist=Jack
  29. Returns a list of nzbs matching an audio based query and optionally a category. Filter by site category by including a comma separated list of categories as follows ?t=music&artist=Jack&cat=2030,2040. Include &extended=1 to return extended information in the search results. Other search parameters include artist, album, label, year, genre (supports comma separated list).
  30. Book ?t=book&author=Daniel
  31. Returns a list of nzbs matching a book based query. Include &extended=1 to return extended information in the search results. Other search parameters include title.
  32. Details ?t=details&id=9ca52909ba9b9e5e6758d815fef4ecda
  33. Returns detailed information about an nzb.
  34. GetNfo ?t=getnfo&id=9ca52909ba9b9e5e6758d815fef4ecda
  35. Returns an nfo file for an nzb. Optional parameter &raw=1 returns just the nfo file without the rss container.
  36. Comments ?t=comments&id=9ca52909ba9b9e5e6758d815fef4ecda
  37. Returns comments for an nzb.
  38. NZB FUNCTIONS
  39. Get ?t=get&id=9ca52909ba9b9e5e6758d815fef4ecda
  40. Downloads the nzb file associated with an Id.
  41. CommentAdd ?t=comments&id=9ca52909ba9b9e5e6758d815fef4ecda&text=comment
  42. Adds a comment to an nzb.
  43. OUTPUT FORMAT
  44. Obviously not appropriate to functions which return an nzb file.
  45.  
  46. Xml (default) ?t=search&q=linux&o=xml
  47. Returns the data in an xml document.
  48. Json ?t=search&q=linux&o=json
  49. Returns the data in a json object.
  50. EXTENDED ATTRIBUTES
  51. Using the attrs tag and a comma separated list of supported values, extended information can be returned in the search results.
  52. For example ?attrs=files,poster,group. Note that not every attribute is available for every release type. Below is a list of some of the supported attributes. To return all known attributes per release use the parameter ?extended=1. See the API specification for a full list.
  53.  
  54. files
  55. poster
  56. group
  57. team
  58. grabs
  59. password
  60. comments
  61. usenetdate
  62. info
  63. year
  64. season
  65. episode
  66. rageid
  67. tvtitle
  68. tvairdate
  69. video
  70. audio
  71. resolution
  72. framerate
  73. language
  74. subs
  75. imdb
  76. imdbscore
  77. imdbtitle
  78. imdbtagline
  79. imdbplot
  80. imdbyear
  81. imdbdirector
  82. imdbactors
  83. genre
  84. artist
  85. album
  86. publisher
  87. tracks
  88. coverurl
  89. backdropcoverurl
  90. review
Advertisement
Add Comment
Please, Sign In to add comment