BrythonLexi Posted August 29, 2021 Share Posted August 29, 2021 It seems like an oversight for there to be no official API to view alliance treaties. I wanted to make a program that could show me the treaty web past the largest 50 alliances. However, I cannot do this without doing an HTML read of the entire site, which seems clunky and would use a lot of bandwidth. Is there any particular reason adding treaties to the Alliance or Alliances API would cause issues? Example for the section (using ASM as an example) may be: 'treaties': [ {'id':790, 'type': "MDoAP"}, {'id':8835, 'type': "MDP"}, {'id':8743, 'type': "ODoAP"} ] 2 1 Quote Link to comment Share on other sites More sharing options...
JadenStar10 Posted August 29, 2021 Share Posted August 29, 2021 8 minutes ago, BrythonLexi said: It seems like an oversight for there to be no official API to view alliance treaties. I wanted to make a program that could show me the treaty web past the largest 50 alliances. However, I cannot do this without doing an HTML read of the entire site, which seems clunky and would use a lot of bandwidth. Is there any particular reason adding treaties to the Alliance or Alliances API would cause issues? Example for the section (using ASM as an example) may be: 'treaties': [ {'id':790, 'type': "MDoAP"}, {'id':8835, 'type': "MDP"}, {'id':8743, 'type': "ODoAP"} ] Love this idea@Alex Quote Coal Duke (Imperator Emeritus) of The Coal Mines Diety Emeritus of The Immortals, Patres Conscripti (President Emeritus) of the Independent Republic of Orange Nations, Lieutenant Emeritus of Black Skies, Imperator Emeritus of the Valyrian Freehold, Imperator Emeritus of the Divine Phoenix, Prefect Emeritus of Carthago, Regent Emeritus of the New Polar Order Link to comment Share on other sites More sharing options...
BrythonLexi Posted August 30, 2021 Author Share Posted August 30, 2021 43 minutes ago, BrythonLexi said: It seems like an oversight for there to be no official API to view alliance treaties. I wanted to make a program that could show me the treaty web past the largest 50 alliances. However, I cannot do this without doing an HTML read of the entire site, which seems clunky and would use a lot of bandwidth. Is there any particular reason adding treaties to the Alliance or Alliances API would cause issues? Example for the section (using ASM as an example) may be: 'treaties': [ {'id':790, 'type': "MDoAP"}, {'id':8835, 'type': "MDP"}, {'id':8743, 'type': "ODoAP"} ] Adding on an additional bit. If this were to be added, I would prefer this to be in both Alliance and Alliances API, since if it were only in the Alliance API, it would still require over 400 calls to get all treaty links in the game (if they exist). Quote Link to comment Share on other sites More sharing options...
Mohammad Posted August 30, 2021 Share Posted August 30, 2021 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.