API:languages.xml

From TvDBwiki
Revision as of 21:17, 26 January 2008 by Szsori (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The languages.xml file holds a list of all of the languages available on this website. NOTE: Previous interfaces primarily used the language id for lookups. This new API uses the 2 character abbreviation. This file will rarely change, so you may consider hard-coding these values into your program and updating them only with new releases.

Example Results

<?xml version="1.0" encoding="UTF-8" ?>
<Languages>
 <Language>
   <name>Español</name>
   <abbreviation>es</abbreviation>
   <id>16</id>
 </Language>
 <Language>
   <name>Français</name>
   <abbreviation>fr</abbreviation>
   <id>17</id>
 </Language>
 <Language>
   <name>Hebrew</name>
   <abbreviation>he</abbreviation>
   <id>24</id>
 </Language>
 <Language>
   <name>English</name>
   <abbreviation>en</abbreviation>
   <id>7</id>
 </Language>
</Languages>
Personal tools