Schlabbi.6352
-
Posts
8 -
Joined
-
Last visited
Content Type
Forums
Events
Articles
Gallery
Posts posted by Schlabbi.6352
-
-
So basically you need to build the entire logo yourself with the data that you have there.
background_id:2
This is the ID of the background image. You can get the URL of the image by calling https://api.guildwars2.com/v2/emblem/backgrounds/2.
background_color_id:673
This is the color that the background image needs to have. Call https://api.guildwars2.com/v2/colors/673 to get the color values and recolor the background image in this color.
0:"FlipBackgroundHorizontal"
This tells you, that the background image is flipped horizontally in the guild emblem. So you need to manipulate the background image and flip it on its horizontal axis.
There are other flags which might tell you, that you have to flip it on its vertical axis. There are also flags which tell you to flip the foreground image.
foreground_id:269
This tells you which foreground images you need to use. Call https://api.guildwars2.com/v2/emblem/foregrounds/269 to get the image data. You now just have to place the foreground image ON TOP of the background image that you already have.
On the foregrounds API endpoint you get three values. Ignore the first one.
Download the SECOND image and recolor it in the color defined by foreground_primary_color_id:473. Then place it on top of the background image that you have computed.
Then download the THIRD image from the foregrounds endpoint and recolor it in the color defined by foreground_secondary_color_id:93. Then place it on top of the image that you have.
-
Yeah, there is unfortunately no way to do this via the api. Would also like to have an endpoint to get this data.
-
When I fetch the content of my bank, I get this object as part of the response:
`{
"id": 82854,
"count": 2,
"binding": "Character",
"bound_to": "Cialea"
}`
However, as soon as I want to fetch the item behind this bank slot by fetching `https://api.guildwars2.com/v2/items?id=82854`, I only get `{ "text": "no such id" }`. Is this a bug? Or something else going wrong here?
-
When I query the daily achievements (today), I will also get `{
"id": 1932,
"level": {
"min": 80,
"max": 80
},
"required_access": [
"GuildWars2",
"HeartOfThorns",
"PathOfFire"
]
}` as part of the response. This achievement id maps to the `Daily Orr Vista Viewer` achievement. However this daily is not one of the ingame dailies (on a lvl 80 char). Is this a bug or am I missing something here?
-
Thanks! Would be really nice to have a way to get these things localized, otherwise I'll have to localize that all myself, which means that I cannot display the names of new raids automatically as soon as they show up on the api.
-
So if I https://api.guildwars2.com/v2/raids?ids=all&lang=en and https://api.guildwars2.com/v2/raids?ids=all&lang=de , the only thing, that changes is the content_language field in the response header. Is there a way to get the Boss/Checkpoint names in the language, which is given by the lang parameter?
-
Am I just blind or is there no way to get the daily achievement progress through the api?
If I pull all the dailies through calling https://api.guildwars2.com/v2/achievements/daily and then try to match the achievement ids against https://api.guildwars2.com/v2/account/achievements?access_token=token to get access to the "done"-field, none of the achievement ids from the /achievements/daily response are in the /achievements?access_token=token response.
So am I missing something here or is there no way to get the progress of the dailies achievements through the api? I also did a few of the dailies to test this and the dailies that I did still don't show up on the /achievements?access_token=token response.
TP and other interfaces
in API Development
Posted
I don't think there is an endpoint to pull the prices for the last months. These websites probably just pull the prices regularly and store them in their databases. Then they can show the price trends of the last months to the user.
If you don't want to do this yourself you could check if these websites you mentioned provide an API to pull the price trends.