Search found 7 matches

by nzmike
09 Apr 2020, 23:33
Forum: Support
Topic: Issues calling append - always get "AddTop" error
Replies: 1
Views: 1368

Issues calling append - always get "AddTop" error

Hi hugubg (or anyone else). I'm trying to call append with the JSON below but no matter what I try I get the same error: { "version" : "1.1", "error" : { "name" : "JSONRPCError", "code" : 2, "message" : "Invalid parameter (AddTop)" } } This is my JSON - I believe I have all the parameters and in the...
by nzmike
07 Apr 2020, 22:56
Forum: Support
Topic: Getting a date from an API response
Replies: 2
Views: 1393

Re: Getting a date from an API response

Sorry hugbug, not sure how I missed that in the API doc... must read more carefully!
I can definitely convert that in C# which is what I use.
by nzmike
07 Apr 2020, 22:15
Forum: Support
Topic: Getting a date from an API response
Replies: 2
Views: 1393

Getting a date from an API response

In the JSON below returned from the API history method how I can get the correct date from the HistoryTime value? Is it a number of seconds from a particular date? I looked at the API docs but couldn't see anything there either on the main APi page or the entry for the history method. { "version" : ...
by nzmike
05 Apr 2020, 08:24
Forum: Support
Topic: Need help using API with C#
Replies: 1
Views: 1401

Re: Need help using API with C#

Ok, solved it and it was embarrasingly easy so I just thought I'd post it here for anyone else struggling with this. So I wondered if I could get the history directly by typing http://localhost:6789/jsonrpc/history into my browser and sure enough up it came - so I just got rid of all the other code ...
by nzmike
05 Apr 2020, 08:06
Forum: Support
Topic: Need help using API with C#
Replies: 1
Views: 1401

Need help using API with C#

Hi all, Just wondering if anyone here can help me try to get my C# helper class going - all I'm trying to do is call something really simple like "version" or "history" to get started but no matter what I try I get an http 400 Bad Request back on the line: HttpWebResponse webResponse = await webRequ...
by nzmike
25 May 2019, 23:38
Forum: Support
Topic: Download using command line but write to specific folder
Replies: 2
Views: 1859

Re: Download using command line but write to specific folder

Thanks for the reply - I have categories turned off in my config as I don't like that option so will look into writing a script to move the file after it's downloaded.
by nzmike
25 May 2019, 04:53
Forum: Support
Topic: Download using command line but write to specific folder
Replies: 2
Views: 1859

Download using command line but write to specific folder

I have a C# .Net program that I use to download certain PDFs on a schedule and when I do this I add files to the queue by starting a system process with "nzget.exe -A <item link>". This works perfectly but it puts the files into the folder that is in my NZBGet config (e.g: D:\NZBGet\Completed) but I...