Hi,
I want to get a one, most popular art for a series:
http://fanart.tv/webservice/series/API_ ... N/all/1/1/
http://fanart.tv/webservice/series/API_ ... thumb/1/1/
but it's returning all images without sorting and limits. Is there something wrong with my API call format?
Setting API limit/sorting doesn't work
Re: Setting API limit/sorting doesn't work
where did you even get that url from?
The new API doesn't support sorting or limits, that should be done by the calling app, you can currently target a section using a queryvar of imagetype, for example http://webservice.fanart.tv/v3/tv/75682 ... e=tvbanner but I don't know wether that will stay.
The new API doesn't support sorting or limits, that should be done by the calling app, you can currently target a section using a queryvar of imagetype, for example http://webservice.fanart.tv/v3/tv/75682 ... e=tvbanner but I don't know wether that will stay.
Re: Setting API limit/sorting doesn't work
Well, the API will always return the image with the most votes at top - in other words; the most popular image. However, you need to define what kind of image you want to pull from the API. So it's actually gives you the most popular images. If the images doesn't have any votes, then it will display them in the order they were uploaded 
As Kode says, you need to define what kind of image you're looking for and you can't get all types of images from one artist/tv show/movie
I've never seen the URL your giving us here though...

As Kode says, you need to define what kind of image you're looking for and you can't get all types of images from one artist/tv show/movie

I've never seen the URL your giving us here though...
"If you can't explain it simply, you don't understand it well enough." Albert Einstein
- Getting started
- Navigating Fanart.tv
- Why Your Image May be Denied
- Moderation Time
- Music Fanart Rules
- Getting started
- Navigating Fanart.tv
- Why Your Image May be Denied
- Moderation Time
- Music Fanart Rules
Re: Setting API limit/sorting doesn't work
Theres no real reason to define the image type though as it will still be accessed in the exact same wayzorensen wrote:As Kode says, you need to define what kind of image you're looking for and you can't get all types of images from one artist/tv show/movie
Re: Setting API limit/sorting doesn't work
On fanart.tv site [bottom] there is a link to "TV API", that's where I found this URL. I just overlooked this reddish hint about a new API 
Thanks for your answers, it's all clear now.

Thanks for your answers, it's all clear now.