Jump to content

Add treasures to the nation api


Ishmael
 Share

Recommended Posts

The nation api currently does not include the treasures currently held by a nation:

https://politicsandwar.fandom.com/wiki/Nation_API

Proposal:

  • Add another key to the nations api "treasures". The value should be a list of treasures the nation currently holds.
  • Optional extra: would be nice to have a separate api that lists which nation is currently holding which treasure, and also the bonus that the treasure provides. 

EDIT: Turns out you can do both the above with api v3 (graphql), so once that gets general access, this wont be necessary.

Edited by Ishmael
  • Like 3
  • Upvote 1
Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and the Guidelines of the game and community.