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

Login  |  Register

Comments / Suggestions / Requests > API: Post comments & more

Started by nazu on 2013-02-10 17:40:07 GMT

nazu
Contributor
Avatar
2013-02-10 17:40:07 GMT
Hello,

1. Can we have the API allow posting of comments (using an API Key per user). I would like to integrate it into a local newznab indexer.

2. As well, currently because newznab does not store the first article/part for releases forever (unless configured to, but then it stores every single part...bloats the database), I am currently doing a look up based on the search name as I cannot generate a GUID for my releases. Is there a way to make it configurable to either: a. Return single details based on newznab generated GUIDs or b. Single result based on search name (exact match).

3. Can you provide access for multiple searches/guid look ups in a single query? (e.g. ?guid[]=1&guid=[]2 or something along those lines, comma delimited maybe). I would like to display # of comments in my browse listing - right now I only have it setup for when you go into the "details" page - where you can see the up/down votes and NZBx Comments.

Thank you
Lemon
Administrator
Avatar
2013-02-10 20:31:28 GMT
Hi nazu,

1. It already allows this! Email hello@nzbx.co and we can get the ball rolling.

2. You can retrieve that from the NZB file, actually. You could maintain a separate table and do a mass generation of the hashes. The Newznab generated GUID is unique only to your instance, I have no idea what that relates to outside of your instance. In terms of based on a search name, you could search for "RELEASE" (including the speech marks), with the limit set to 1.

3. Sure! Give me a day or two and I'll have this enabled.

- Lem.
nazu
Contributor
Avatar
2013-02-11 01:51:45 GMT
E-mail sent, thanks for the response.
You must be logged in to post a reply.

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