|
|
Technical Support Questions about game technical support to the users of the community |
|
Thread Tools | Display Modes |
04-09-2017, 11:30 AM | #1 |
Master
Join Date: Oct 2007
Location: france
Posts: 397
|
API for War Status ?
Hello,
It would be nice to make the war status API public. I need it in android / iphone app i have build and want to refresh. I already have some old info but it would be nice to have the latest and full info. I already have MP a guy from NGD but he no more reply. Can someone give me this API that i can refresh my smartphone apps ? |
04-09-2017, 01:24 PM | #2 |
Master
Join Date: Mar 2012
Location: Zagreb / Croatia
Posts: 578
|
You should contact Adrian for all questions regarding API.
__________________
Slartibartfast / Slartibartflask / Phartiphukborlz / Slartibarbfast / Blart Versenwald :: The true Goat of Alsius
CoR Sentinel |
04-09-2017, 02:00 PM | #3 |
Master
Join Date: Oct 2007
Location: france
Posts: 397
|
Yes Adrian, i'll try again to contact him.
He give me some info in 2013. Are you the owner of regnum sentinel website ? Is boss respawn time in the API ? |
04-09-2017, 02:07 PM | #4 |
Master
Join Date: Mar 2012
Location: Zagreb / Croatia
Posts: 578
|
Yes, I created regnumsentinel. And no, there is no boss info in API.
__________________
Slartibartfast / Slartibartflask / Phartiphukborlz / Slartibarbfast / Blart Versenwald :: The true Goat of Alsius
CoR Sentinel |
04-09-2017, 02:16 PM | #5 |
Master
Join Date: Oct 2007
Location: france
Posts: 397
|
How do you get boss respawn time then ?
|
04-09-2017, 03:56 PM | #6 |
Master
Join Date: Mar 2012
Location: Zagreb / Croatia
Posts: 578
|
Bosses respawn in 109 hours interval, so I do the math.
__________________
Slartibartfast / Slartibartflask / Phartiphukborlz / Slartibarbfast / Blart Versenwald :: The true Goat of Alsius
CoR Sentinel |
04-09-2017, 09:12 PM | #7 |
Master
Join Date: Oct 2007
Location: france
Posts: 397
|
Oh i see and you have to adjust every time the server reboot. It's a lot of work.
|
04-09-2017, 10:26 PM | #8 |
Master
Join Date: Mar 2012
Location: Zagreb / Croatia
Posts: 578
|
Not really, it's all fully automated. My site requires zero maintenance.
__________________
Slartibartfast / Slartibartflask / Phartiphukborlz / Slartibarbfast / Blart Versenwald :: The true Goat of Alsius
CoR Sentinel |
04-09-2017, 10:39 PM | #9 |
Master
Join Date: Oct 2007
Location: france
Posts: 397
|
Oh yes, you can check if the server is down since you probably have a script that run 24/24h. I had the smartphone wayin mind and i probably can't check if server is down all the time with a smartphone.
|
04-09-2017, 11:05 PM | #10 |
Master
Join Date: Mar 2012
Location: Zagreb / Croatia
Posts: 578
|
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" } } } Good luck
__________________
Slartibartfast / Slartibartflask / Phartiphukborlz / Slartibarbfast / Blart Versenwald :: The true Goat of Alsius
CoR Sentinel |
|
|