Any requests for the next version of the API?
Hopefully the next version will have unified image names, so a poster will be a poster regardless of the section.
I'll try and get some better documentation done for the next version, if anyone can provide code samples please let me know.
Requests for v3 of the API
Re: Requests for v3 of the API
I had some requests when I was implementing my stuff which interfaced with the API, but I can't remember what they were now. My only request now is just that you don't remove the XML interface even if it isn't publicly exposed.
Re: Requests for v3 of the API
Any reason why you would use XML over JSON? I'm not 100% sure whether I'm going to support it or not, but if not you will still be able to use v2
Re: Requests for v3 of the API
I have a tagger/art downloader I wrote in an older language that doesn't have a JSON parser, but does have an XML parser. It would really suck to have to write my own JSON parser.
As long as v2 still works, I'm good.
As long as v2 still works, I'm good.
Re: Requests for v3 of the API
Also, looking at raw JSON in a browser isn't nearly as easy to visually parse as XML which every browser I've ever looked at, formats beautifully. Makes debugging relatively simple.
Re: Requests for v3 of the API
Here is an example of the JSON output: http://melanippe.fanart.tv/v3/movies/10 ... aa78675ac2 I'd say that was as easy if not easier to read than XML, but I will look into supporting XML as well
Re: Requests for v3 of the API
Well, yeah, formatted like that it's pretty easy to read. The v2 JSON output is essentially one long line with no spaces between. I also found a chrome extension which formats JSON prettily. If it's a lot of extra work, don't worry about it on my account.
Re: Requests for v3 of the API
I should be able to reuse some of the code from v2 so I will see how much extra work it will be as you aren't the only one to ask to keep XML
Re: Requests for v3 of the API
Just a request to keep the XML api in the future.
XBMC just got support for XLST so we can now write and read XML scrapers so easily instead of using regular expressions. Literally anyone can write and understand them now. It would be a big shame to loose this.
I just wish JSON had a nice way to translate into human readable scripts as well. Maybe one day..
XBMC just got support for XLST so we can now write and read XML scrapers so easily instead of using regular expressions. Literally anyone can write and understand them now. It would be a big shame to loose this.
I just wish JSON had a nice way to translate into human readable scripts as well. Maybe one day..