apoch on master
/v2/pvp/seasons: add .ranks. Merge pull request #535 from ar… (compare)
apoch on master
add missing name tag to /v2/rac… Merge pull request #609 from Th… (compare)
What would be the easiest way for me build a plugin that would present in-game lore text upon getting a point of interest or waypoint unlocked? Furthermore, is there any way to pull GW2 wiki information and make that presentable in-game upon walking over certain parts of a map. I think it would not break game immersion and help build game lore.
I'm working on developing a drop rate tracker, however I'm bumping into an issue with lag from the api.
When I retrieve data from api.guildwars2.com/v2/characters/Character_Name/inventory, the data is out of date... historically by anywhere between 30-50s (estimate).
So far I've been getting around this by setting a 60s countdown timer, however recently this lag has been getting worse, and is now almost always over a minute out of sync.
I realise this is simply the nature of managing a server such as this, and want you to know I'm not complaining about it... but when you have to wait 5 minutes for the cache to clear, actually testing to make sure this timer is right in-program is basically impossible.
Is there any way to find out the current lag for endpoint requests in the api?
Would it be possible to include a timestamp on requests? That way It'd be possible to automate the countdown timer to sync with the server on first request.
also: I think max-age from the cache-control header is supposed to supersede the Expires header:
If there is a Cache-Control header with the "max-age" or "s-maxage" directive in the response, the Expires header is ignored
How would I go about pulling only the highest buy order / lowest sell order from this listing?
I'm trying to read stuff from the mumblelink shared memory file following this: https://wiki.guildwars2.com/wiki/API:MumbleLink using Python 3.6
import mmap import struct import json def read_memory(): """Based on: https://wiki.guildwars2.com/wiki/API:MumbleLink""" # Access the memory size = "IL3f3f3f512s3f3f3f290s256s2048s"