• Official Post


    Hey Developer!



    and welcome to the future, the new si2 battle report api!


    You can access this api by the url:
    SI2: http://api2.spaceinvasion.info/api/battle.php


    Notice: there is not s sandbox mode atm!


    Please notice: this api provides only battle reports shared in si2!


    You need to add some GET Parameters too:
    output: json, xml or csv
    instance: si2, si2speed
    battle: the battle report id
    key: the battle report key


    you will get the battle report, with all relevant informations (no Coords!).
    and you have the access to see what is destroyed in each round (atm not implemented in si2)
    You also get the rank of these report on our si2 hall of fame ! :)


    best regards
    Dschibait


    • Official Post

    Here is a simple example how you can use the battle report api with our given si2 share links:



    regards
    Dschibait