HTTP API Definition: Difference between revisions

Line 44: Line 44:
=== Data ===
=== Data ===
<code><pre>
<code><pre>
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="UTF-8"?>
<anime aid="1" type="tv series">
<anime id="1" restricted="false">
  <type>TV Series</type>
  <episodecount>13</episodecount>
  <startdate>1999-01-04</startdate>
  <enddate>1999-03-29</enddate>
   <titles>
   <titles>
       <!-- should we include all titles or are official+main title enough? -->
       <title xml:lang="x-jat" type="main">Seikai no Monshou</title>
       <title type="main" lang="x-jat">Seikai no Monshou</title>
      <title xml:lang="zh-Hans" type="syn">星界之纹章</title>
       <title type="official" lang="ja">星界の紋章</title>
       <title xml:lang="en" type="short">CotS</title>
       <title type="official" lang="en">Crest of the Stars</title>
      <title xml:lang="x-jat" type="short">SnM</title>
       <title type="official" lang="fr">Crest of the Stars</title>
       <title xml:lang="ja" type="official">星界の紋章</title>
       <title type="official" lang="pl">Crest of the Stars</title>
       <title xml:lang="en" type="official">Crest of the Stars</title>
       <title xml:lang="fr" type="official">Crest of the Stars</title>
       <title xml:lang="pl" type="official">Crest of the Stars</title>
   </titles>
   </titles>
   <eps>13</eps>
   <relatedanime>
  <date>
       <anime id="4" type="Sequel">Seikai no Senki</anime>
      <!-- note: dates can also be YYYY-MM-?? and YYYY-??-?? -->
       <anime id="6" type="Prequel">Seikai no Danshou</anime>
       <from>1999-01-03</from>
       <anime id="1623" type="Summary">Seikai no Monshou Tokubetsuhen</anime>
      <till>1999-03-28</till>
  </relatedanime>
  </date>
  <url>http://www.sunrise-inc.co.jp/seikai/</url>
  <categories>
   <creators>
      <category cid="233" weight="6">Dynamic::Plot Continuity</category>
       <name id="4495" type="Original Work">Morioka Hiroyuki</name>
       <category cid="4" weight="4">Elements::Action</category>
  </creators>
      ...
  <description>Jinto Lin`s life changes forever when the Humankind Empire Abh takes over his home planet of Martine without firing a single shot. He is soon sent off to study the Abh language and culture and to prepare himself for his future as a nobleman — a future he never dreamed of. Or wanted.Now, Jinto is entering the next phase of his training, and he is about to meet his first Abh, the lovely Lafiel. But Jinto is about to learn that she is more than she appears to be. And together they will have to fight for their very lives.</description>
  <categories>
  <producers>
       <producer prid="34" type="Financial Production">Bandai Visual</producer>
      <producer prid="108" type="Music Production">BeSTACK</producer>
      ...
  </producers>
   <relations>
       <!-- relations are always listed with official transcription title -->
      <relation type="sequel" aid="4">Seikai no Senki</type>
      <relation type="prequel" aid="6">Seikai no Danshou</type>
      <relation type="summary" aid="1623">Seikai no Monshou Movie</type>
  </relations>
   <ratings>
   <ratings>
       <rating type="permanent" count="2333">8.54</rating>
       <permanent count="2953">8.53</permanent>
       <rating type="temporary" count="82">7.61</rating>
       <temporary count="96">7.58</temporary>
       <rating type="review" count="9">9.01</rating>
       <review count="11">8.75</review>
   </ratings>
   </ratings>
   <images>
   <picture>440.jpg</picture>
       <image size="full">http://img5.anidb.net/pics/anime/440.jpg</image>
  <categories>
       <image size="small">http://img5.anidb.net/pics/anime/thumbs/150/440.jpg-thumb.jpg</image>
       <category id="174" parentid="8" hentai="false" weight="500">
       <image size="tiny">http://img5.anidb.net/pics/anime/thumbs/50/440.jpg-thumb.jpg</image>
        <name>Space Travel</name>
  </images>
        <description>Space Travel usually refers going to space or travelling there with or without a spacecraft. There are different forms of space travel like Interplanetary travel, Interstellar travel or Intergalactic travel. Since it isn`t possible to travel faster than light, most anime series involve some sort "sub-space travel mechanism" as a way to travel faster than light.</description>
  <description>
      </category>
Jinto Lin's life changes forever when the Humankind Empire Abh takes over his home planet of Martine without firing a single shot. He is soon sent off to study the Abh language and culture and to prepare himself for his future as a nobleman - a future he never dreamed of. Or wanted.
       <category id="274" parentid="268" hentai="false" weight="400">
 
        <name>Novel</name>
Now, Jinto is entering the next phase of his training, and he is about to meet his first Abh, the lovely Lafiel. But Jinto is about to learn that she is more than she appears to be. And together they will have to fight for their very lives.
        <description>Note that novel means book with words in paper, so no comics and no "visual novels", which should go under manga and dating-sim - visual Novel/erotic game respectively.&#13;
   </description>
&#13;
Note that it can be applied to novels as we know them but also the typical light novels for teens and young adults, which are common in Japan and aside from being short include a number of illustrations. </description>
      </category>
  </categories>
  <tags>
      <tag id="136" approval="20" spoiler="false" update="2009-05-23">
        <name>space opera</name>
        <count>71</count>
      </tag>
      <tag id="175" approval="17" spoiler="false" update="2008-03-13">
        <name>space elves</name>
        <count>12</count>
      </tag>
      <tag id="389" approval="15" spoiler="false" update="2008-06-03">
        <name>war setting</name>
        <count>64</count>
      </tag>
       <tag id="393" approval="18" spoiler="false" update="2008-06-03">
        <name>space battles</name>
        <count>43</count>
        <description>There are space battles in this anime. Usually between Earth forces and some alien invader, but ship to ship skirmishes in deep space are just as common.</description>
      </tag>
  </tags>
  <characters>
      <character id="7493" type="appears in" update="2009-05-28">
        <name>Gosroth</name>
        <description>The Resii Gothroth.The first Abh ship lost in the war.</description>
        <episodes>1,1012</episodes>
        <picture>26147.jpg</picture>
      </character>
      <character id="7501" type="appears in" update="2009-05-28">
        <name>Planet Martine</name>
        <description>The homeworld of Jinto</description>
        <episodes>1</episodes>
      </character>
      <character id="7503" type="appears in" update="2009-05-28">
        <name>Rock Lynn</name>
        <description>The former president of Martine, later made count of the Hyde system, after striking a deal with the Abh (in episode 1)</description>
        <episodes>1</episodes>
        <picture>26165.jpg</picture>
      </character>
  </characters>
  <episodes>
      <episode id="1" update="2005-03-10">
        <epno>1</epno>
        <length>24</length>
        <airdate>1999-01-03</airdate>
        <rating votes="17">5.66</rating>
        <title xml:lang="ja">侵略</title>
        <title xml:lang="en">Invasion</title>
        <title xml:lang="fr">Invasion</title>
        <title xml:lang="x-jat">shinryaku</title>
      </episode>
      <episode id="2" update="2005-03-11">
        <epno>2</epno>
        <length>24</length>
        <airdate>1999-01-10</airdate>
        <rating votes="12">6.66</rating>
        <title xml:lang="ja">星たちの眷族</title>
        <title xml:lang="en">Kin of the Stars</title>
        <title xml:lang="fr">Les parents des Étoiles</title>
        <title xml:lang="x-jat">Hoshi-tachi no Kenzoku</title>
      </episode>
   </episodes>
</anime>
</anime>
</pre></code>
</pre></code>
MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.