Pinned OGame API

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • DeLord wrote:

      I think it is sufficient that this information is in serverData.xml

      If you want to know the label / name of a universe, just query its serverData.xml - having this info in universes.xml is not necessary imho
      I agree that: it is not impossible to retrieve the information... But inserting the label in the total list of servers avoids creating unnecessary traffic by recalling every single server XML to get an information.
      Example: an HTML select consisting of the number + label of the servers...
      I adapt to the standard process, thanks to everyone.
    • I agree with you @vld
      It’s more like a design error in my opinion.

      There are other things that logically thinking do not make sense, like having to do this excesive calls or what I mentioned in my last post.

      Things like this made me create a new API proposal (REST). But to be totally honest, this is not a priority and if it’s going to change some day, it will take a long time until we see results.

      The post was edited 1 time, last by Charlie ().

      Choubakawa likes this.

    • Hi,

      Would it be possible to get the API to validate against its own schema? Example
      If you press the validate button, you will get this error: Not well formed: The prefix "xsi" for attribute "xsi:noNamespaceSchemaLocation" associated with an element type "serverData" is not bound. This means it doesn't know what to do with the xs: namespace. Having this fixed would be nice and should be easy.
    • ImperatorMaximus wrote:

      Hm, I don't think that there is such a limit. But as usual: Be nice, don't open too many connections, and be fault tolerant. I request every available data, but I do this only once per file in the validity period.
      Once a day I download alliances.xml, universe.xml, players.xml, couple times a day highscore.xml for all countries and servers. ;)
      ROBOL GameForge

      The post was edited 2 times, last by ciap ().