Logo
Browse  |  Discovery  |  Donate  |  Forum  |  Movies  |  Upload NZB

Login  |  Register

Updates > [API] Filter search results by category

Started by Lemon on 2012-12-25 17:00:10 GMT

Lemon
Administrator
Avatar
2012-12-25 17:00:10 GMT
The /search endpoint now supports an additional cat parameter (e.g. ?cat=3010) which will accept a category ID to filter results by. It will also accept an array of comma delimited categories such as ?cat=3010,3020,3030
Geilt715
Resident Gray Bush
Avatar
2012-12-25 17:47:13 GMT
Can we get a list of which codes correlate to which categories? Maybe under the API wiki on the site.
Lemon
Administrator
Avatar
2012-12-25 19:04:00 GMT
Yeah, I'll get this added in.
digiwombat
Contributor
Avatar
2013-01-03 11:03:44 GMT
I get an empty json array no matter what category I use, including the examples you included. That's both with and without a q=

EDIT: Was using the wrong ID. Man, I am having one of those days -_- Apologies for any wasted time. Haha.
You must be logged in to post a reply.

API  |  Blog  |  Contact  |  DMCA  |  FAQ  |  Legal  |  Technology  |  Copyright © 2012, nzbX.co