TheTVDB.com

Online TV Database
It is currently Sat May 18, 2013 9:39 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sat Jul 28, 2012 5:13 am 
Offline

Joined: Sat Jul 28, 2012 5:01 am
Posts: 2
Hi.

Together with a friend I'm currently developing a small web page/web app around tv series and we decided to use thetvdb as the data source. Although I never expect our side to get many visitors, I want to implement our API right, so that we make you as least trouble as possible.

Whenever a user searches on the site, we search our local database (which will also be populated with names and IDs from one of your database dumps) and if that is unsatisfying, we use the tvdb api (and also store the result to our database, so that we won't need to query our site for the same request again). Whenever a specific series is requested we first look in our database. If we don't have data we plan to use the /series/id/all of your api. However it seems just the xml version is available. Is there a way to use the zipped files or is it ok to use the /all XMLs?

Thank you very much in advance!


Top
 Profile  
 
PostPosted: Sat Jul 28, 2012 6:59 am 
Offline
Site Moderator

Joined: Sat Oct 16, 2010 5:48 pm
Posts: 1089
Location: England
No reason you can't use the xmls opposed to the zips, althought would recommend using the zips for size reasons etc.
The format its:
http://thetvdb.com/api/<API Key>/series/<series Id>/all/<language code>.zip eg http://thetvdb.com/api/<API code>/series/71256/all/en.zip

More details on the wiki: http://www.thetvdb.com/wiki/index.php/Programmers_API

_________________
---

Please watch this video to help LSU Computer Society try to win the RBS ESSA society competition! http://youtu.be/8JrhmoSXLXw - only 1:36min

Thanks :D


Top
 Profile  
 
PostPosted: Sun Jul 29, 2012 10:10 am 
Offline

Joined: Sat Jul 28, 2012 5:01 am
Posts: 2
Thank you a lot. I tried the same thing yesterday but obviously I did something wrong, because I kept getting 404 errors when trying to load the zip. (xml worked)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group