Smartphone application is not enough for this. You need the server which will pull war status once a minute from NGD's server, store data and serve it to your mobile application. You can't access directly to NGD's servers from your application because of:
1. Access to NGD's server is limited from one IP only
2. There is API call limit, i think it's 60 calls per hour
Practically, you have a single API command - get_world_status which returns something like:
Code:
{
"haven": {
"capture_owners": {
"alsius_castle_capture_point": "alsius",
"alsius_door_capture_point": "alsius",
"alsius_fort_1_capture_point": "alsius",
"alsius_fort_2_capture_point": "alsius",
"ignis_castle_capture_point": "ignis",
"ignis_door_capture_point": "ignis",
"ignis_fort_1_capture_point": "ignis",
"ignis_fort_2_capture_point": "ignis",
"syrtis_castle_capture_point": "syrtis",
"syrtis_door_capture_point": "alsius",
"syrtis_fort_1_capture_point": "alsius",
"syrtis_fort_2_capture_point": "alsius"
},
"gem_owners": {
"gem_altar_alsius_1": "alsius",
"gem_altar_alsius_2": "alsius",
"gem_altar_ignis_1": "alsius",
"gem_altar_ignis_2": "ignis",
"gem_altar_syrtis_1": "syrtis",
"gem_altar_syrtis_2": "syrtis"
},
"relic_owners": {
"realm_relic_aggersborg": "realm_relic_altar_aggersborg",
"realm_relic_algaros": "realm_wall_power_source_syrtis_3",
"realm_relic_eferias": "realm_relic_altar_eferias",
"realm_relic_herbred": "realm_wall_power_source_syrtis_2",
"realm_relic_imperia": "realm_relic_altar_imperia",
"realm_relic_menirah": "realm_relic_altar_menirah",
"realm_relic_samal": "realm_relic_altar_samal",
"realm_relic_shaanarid": "realm_relic_altar_shaanarid",
"realm_relic_trelleborg": "realm_relic_altar_trelleborg"
}
}
}
And that's all the info you will get from API. All other higher level data should be derived from it.
Good luck