Pinned OGame API

    • Hello again,

      A complete update of this info posting:

      Hello,

      Here's the beginning of an OGame API for better tools and addon support - This is a public pre-info for the Origin test server.

      - Comes with 4.1
      - Comments and suggestions there : OGame API
      - Already useable in the Origin test universes - but old code: ( you'll find current examples below)

      uni670.ogame.org/api/players.xml - Updateinterval 1 week
      uni670.ogame.org/api/universe.xml - Updateinterval 1 week

      uni670.ogame.org/api/highscore.xml?category=1&type=1 - Updateinterval 1 day - ( all possible parameter uni670.ogame.org/api/highscore.xml )
      uni670.ogame.org/api/alliances.xml - Updateinterval 1 day


      - Planned, not useable right now:
      uni670.ogame.org/api/serverData.xml - Updateinterval 1 day
      uni670.ogame.org/api/playerData.xml - Updateinterval 1 day


      Curent examples ( NOT from the origin test server )


      Display Spoiler

      Brainfuck Source Code

      1. <players xmlns="http://uniXXX.ogame.de/api" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://uniXXX.ogame.de/api/xsd/players.xsd" timestamp="1334846685" serverId="deXXXa">
      2. <player id="1" name="Legor"/>
      3. <player id="100000" name="GameAdmin"/>
      4. <player id="100003" name="comagf"/>
      5. <player id="100004" name="OGameTeam"/>
      6. <player id="300002" name="OGameTech"/>
      7. ...
      8. <player id="1521" name="weteha"/>
      9. </players>
      10. <universe xmlns="http://uniXXX.ogame.de/api" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://uniXXX.ogame.de/api/xsd/universe.xsd" timestamp="1334846727" serverId="deXXXa">
      11. <planet id="1" player="1" name="Arakis" coords="1:1:2"/>
      12. <planet id="33620176" player="100000" name="GameAdmin" coords="1:1:3"/>
      13. <planet id="33620179" player="100003" name="Heimatplanet" coords="1:1:1"/>
      14. <planet id="33620180" player="100004" name="OGameTeam" coords="1:250:1"/>
      15. <planet id="33620183" player="300002" name="Sheep World" coords="1:1:8"/>
      16. <planet id="33620184" player="300003" name="Zahadoom" coords="1:1:10"/>
      17. <planet id="33620186" player="300005" name="GALAXYTOOL" coords="1:2:4"/>
      18. <planet id="33620188" player="300007" name="Homeworld" coords="1:2:8"/>
      19. <planet id="33620193" player="300012" name="meiner" coords="1:3:8"/>
      20. <planet id="33620194" player="300013" name="Tschaï" coords="1:3:10"/>
      21. .........
      22. </universe>
      23. <highscore xmlns="http://uniXXX.ogame.de/api" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" category="1" type="3" xsi:schemaLocation="http://uniXXX.ogame.de/api/xsd/highscore.xsd" timestamp="1334847951" serverId="deXXXa">
      24. <player id="322093" rank="1" score="71034"/>
      25. <player id="319554" rank="2" score="57766"/>
      26. <player id="322443" rank="3" score="57627"/>
      27. <player id="315183" rank="4" score="50524"/>
      28. <player id="314649" rank="5" score="48344"/>
      29. <player id="322187" rank="6" score="48343"/>
      30. <player id="320397" rank="7" score="46630"/>
      31. <player id="309785" rank="8" score="45784"/>
      32. <player id="321115" rank="9" score="44913"/>
      33. <player id="304069" rank="10" score="44545"/>
      34. .............
      35. </highscore>
      36. <highscore xmlns="http://uniXXX.ogame.de/api" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" category="2" type="3" xsi:schemaLocation="http://uniXXX.ogame.de/api/xsd/highscore.xsd" timestamp="1334847992" serverId="deXXXa">
      37. <alliance id="113" rank="1" score="551148"/>
      38. <alliance id="927" rank="2" score="408890"/>
      39. <alliance id="99" rank="3" score="304015"/>
      40. <alliance id="268" rank="4" score="274568"/>
      41. <alliance id="246" rank="5" score="272235"/>
      42. <alliance id="440" rank="6" score="265870"/>
      43. <alliance id="247" rank="7" score="251015"/>
      44. <alliance id="1429" rank="8" score="229924"/>
      45. <alliance id="282" rank="9" score="211034"/>
      46. ............
      47. </highscore>
      48. <alliances xmlns="http://uniXXX.ogame.de/api" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://uniXXX.ogame.de/api/xsd/alliances.xsd" timestamp="1334846992" serverId="deXXXa">
      49. <alliance id="7" name="Prototypes" tag="P??t" founder="300040" foundDate="1318284000" open="1">
      50. <player id="314545"/>
      51. <player id="321556"/>
      52. <player id="322486"/>
      53. <player id="325134"/>
      54. <player id="325193"/>
      55. <player id="325642"/>
      56. </alliance>
      57. <alliance id="12" name="German Warriors" tag="G_W" founder="301015" foundDate="1318284000" open="1">
      58. <player id="314545"/>
      59. <player id="321556"/>
      60. <player id="322486"/>
      61. <player id="325134"/>
      62. <player id="325193"/>
      63. <player id="325642"/>
      64. </alliance>
      65. ..........
      66. </alliances>
      67. <serverData xmlns="http://uniXXX.ogame.de/api" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://uniXXX.ogame.de/api/xsd/serverData.xsd" timestamp="1334846466" serverId="deXXXa">
      68. <name>692a</name>
      69. <language>de</language>
      70. <timezone>Europe/Berlin</timezone>
      71. <domain>uniXXX.ogame.de</domain>
      72. <version>4.1.0-alpha1</version>
      73. <galaxies>9</galaxies>
      74. <systems>499</systems>
      75. <speed>50</speed>
      76. <rapidFire>0</rapidFire>
      77. <defToTF>0</defToTF>
      78. <debrisFactor>0.3</debrisFactor>
      79. <repairFactor>0.7</repairFactor>
      80. <newbieProtectionLimit>50000</newbieProtectionLimit>
      81. <newbieProtectionHigh>10000</newbieProtectionHigh>
      82. <topScore>360073</topScore>
      83. </serverData>
      84. <playerData xmlns="http://uniXXX.ogame.de/api" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="300388" name="2hard4you" xsi:schemaLocation="http://uniXXX.ogame.de/api/xsd/playerData.xsd" timestamp="1334847592" serverId="deXXXa">
      85. <positions>
      86. <position type="0" score="360073">1</position>
      87. <position type="1" score="31246">233</position>
      88. <position type="2" score="328666">1</position>
      89. <position type="3" score="362">852</position>
      90. <position type="4" score="0">1879</position>
      91. <position type="5" score="318">1006</position>
      92. <position type="6" score="0">1754</position>
      93. <position type="7" score="0">1267</position>
      94. </positions>
      95. <alliance id="1709">
      96. <name>test1</name>
      97. <tag>test1</tag>
      98. </alliance>
      99. <planets>
      100. <planet id="33620569" name="WWWWWWWWWWWWWWWWWWWW" coords="1:78:10" moonId="33777635" moonName="Mond"/>
      101. </planets>
      102. </playerData>
      Display All