XML Mice Statistics API

Discussion in 'Bugs' started by Bill, Dec 7, 2010.

Thread Status:
Not open for further replies.
  1. Bill Noobie Mouse

    Hello,

    Here you can found a xml-like API to get statistics about mice.

    With the user-id (available on the URL on your profile)
    http://forum.transformice.com/miceinfo.xml?u=1818

    With the user-name
    http://forum.transformice.com/miceinfo.xml?n=Bill

    You can also get the local translation of the title (french (fr) and portuguese (pt) have translation on titles yet) :
    http://forum.transformice.com/miceinfo.xml?u=1818&l=fr

    The stats are usually updated within 3 minutes after you've disconnected Transformice. If you see that the stats aren't updated for some hours, feel free to PM me to check that.
  2. Aaammsw Noobie Mouse

    Thanks Again Bill.
  3. Roflmao

    Idnlr Noobie Mouse

  4. Mapdesigns Noobie Mouse

    Thank youu so much :)
    Seems to be working again :D
  5. Tired

    Skydev Cheese Enthusiast

  6. No Mood

    Bielrss Professional Mouse

    Thanks Bill [IMG]
  7. Busy

    Marianams Cheese Enthusiast

  8. Roflmao

    Myres Cheese Enthusiast

    Wow thank's Bill ^^
  9. Tired

    Skydev Cheese Enthusiast

    Bill! Please specify the encoding of XML file in header tag!
    That means:
    Replace <?xml version="1.0"?>
    with a <?xml version="1.0" encoding="windows-1252"?>
  10. Bill Noobie Mouse

    • Refreshed titles (some misses or wrong titles fixed)
    • Added Portuguese/Brazilian (pt) titles
    • Added XML-encoding data on header
  11. Holz Transformice Mod

    Thanks Bill.

    Is it kept track of when a player registered their account (other than the forum registration since September)?

    The currently worn clothes would probably be interesting too.
  12. Tired

    Skydev Cheese Enthusiast

    Nice ^_^
    Now dont have to do call
    Code:
    $page = str_replace('<?xml version="1.0"?>','<?xml version="1.0" encoding="windows-1252"?>',$page);
    prior to calling
    Code:
    $xml=simplexml_load_string($page);
    +1 to you on that


  13. Tired

    Skydev Cheese Enthusiast

    By the way is there anything like XML-RPC or SOAP api in plans of api development?
    Some methods that could be useful
    • mice.getInfo
    • mice.getRank
    • mice.getClothing
    • mice.getTribeInfo
    • mice.getOnline
    • tribe.getInfo
    • tribe.getRank
    • tribe.listMembers
    • tribe.fullInfo
    • server.getInfo
    • server.getStats
    • server.getRoomInfo
  14. Proracing Noobie Mouse

    Possible d'ajouté le nombre de fromage dans le magasin ? Merci d'avance.
  15. Creeping

    Rooooney Translator

    What happened to statistics?
    This is not updated for ~1day.
  16. Pokemaster
    • CFM Moderator

    Kazumamice Sabusha's lovely time companion

    it has to do with the API, the thing that updates the stats, sometimes it doesn't update for a while, just give it time and it will be updated [IMG]


  17. Creeping

    Rooooney Translator

    yay, fixed.


  18. Youngmink Guest

    My statistics have not been updated for several days. Are other users currently dealing with this issue as well?

    Please satisfy my curiosity.
  19. Pokemaster
    • CFM Moderator

    Kazumamice Sabusha's lovely time companion

    its a problem with the API or in other words, the thing that controls the stats, don't worry you are not losing anything but its glitched to where its not updating (could be because of an overload on that part) generally, you just have to wait it out


  20. Bill Noobie Mouse

    Hello,

    The update system I've made for API is gonna be replaced by a new one, faster and better. So the data are stuck until Tigrounette releases it. Don't worry, in-game stats are still updated, that's only forum/API data that are stuck.
Thread Status:
Not open for further replies.

Share This Page