Never mind. I'm dumb. I JUST realized that there was a market value tag in the API.
Advertisement
by Doge Land » Sun Aug 15, 2021 6:55 am
by Rocain Founder » Sun Aug 22, 2021 11:18 am
by Trotterdam » Sun Aug 22, 2021 1:16 pm
by Rocain Founder » Sun Aug 22, 2021 3:52 pm
by Twertis » Sun Sep 05, 2021 11:43 am
by Merni » Mon Sep 06, 2021 12:13 am
Twertis wrote:A project of mine is made infinitely more complex and inefficient by the happenings shard’s 28-second delay. As I’m told, that delay is to make triggering more difficult. That’s fair, but triggering can only be done using the admin, change, embassy and cte filter types in the happenings shard (as well as no filter, ofc). All other filters (i.e. member, law, eject, rmb, dispatch, move, founding, vote, resolution, and endo) are bound to user actions rather than update, and therefore can’t be used to trigger. Would it be possible to remove the 28-second happenings delay when the filter contains no update-bound happenings (maybe just a matter of adding a conditional)?
by Indian andhra » Sun Sep 12, 2021 5:35 am
by The Northern Light » Sun Sep 19, 2021 4:28 pm
Home of the WADP, Planet Eras, and the Constibillocode!
by [violet] » Wed Oct 13, 2021 8:54 pm
by The Northern Light » Tue Nov 09, 2021 12:00 pm
Home of the WADP, Planet Eras, and the Constibillocode!
by August » Wed Nov 10, 2021 1:21 pm
It is more than just that nation.The Northern Light wrote:Bug report
The API call for all WA nations includes braedal, who was ejected from the WA several days ago.
by Fluffiness » Mon Nov 22, 2021 8:27 am
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1214, column 11
motto. Indeed, if I remove it, the parsing proceeds further, until getting stuck by another issue of this kind.Didn't see that coming
>>> import os
>>> from chardet import detect
>>> with open("cardlist_S1.xml", 'rb') as f:
... rawdata = f.read()
... print(detect(rawdata)['encoding'])
...
Windows-1254
by Trotterdam » Mon Nov 22, 2021 8:53 am
by PotatoFarmers » Sun Jan 16, 2022 3:25 am
by Trotterdam » Sun Jan 16, 2022 6:33 am
by United Calanworie » Sun Jan 16, 2022 1:36 pm
PotatoFarmers wrote:Is there a possibility for the RMB search function be implemented as an api shard? Like some sort of ability for us to pull latest RMB messages, as well as track the last RMB messages of a particular user, via API instead of having to use the manual website way?
by Trotterdam » Sun Jan 16, 2022 2:28 pm
True. If you're only looking for recent posts, then first retrieving recent posts and then manually filtering them for whatever you're interested in is likely to be more efficient than first searching for posts meeting some criteria and then picking out the most recent ones.United Calanworie wrote:There's always the messages shard in the region API. Then just save post IDs and check against your saved IDs whenever you call the API again.
by Elest Adra » Sun Jan 23, 2022 1:23 pm
by Trotterdam » Sun Jan 23, 2022 2:01 pm
I would assume that it simply returns the flag in whatever format the player chose to upload it. The game doesn't currently convert between different image formats anywhere else, so I wouldn't expect it to in the API.Elest Adra wrote:It seems like the `flag` shard now returns a link to an SVG file. My app doesn't handle SVGs well natively. Is it safe to transform these URLs to `png`?
by Elest Adra » Mon Jan 24, 2022 1:43 pm
by Trotterdam » Mon Jan 24, 2022 4:55 pm
by Imperium Anglorum » Sat Feb 05, 2022 1:51 am
[violet] wrote:Removed GENSEC and HELD from the API since they're not ready for public consumption yet.
Advertisement
Users browsing this forum: Baharan, Bukalas, Countriopia, Foehn Paramilitary Regions, Mareyland, Namwenia, North American Imperial State, Nuevo Meshiko, Radicalania, Reyo, Salamiya, The Koryoan Union, Vilwandia, Wing Como, Yuspuize
Advertisement