Jump to content
  • Sign Up

Schlabbi.6352

Members
  • Posts

    8
  • Joined

  • Last visited

Schlabbi.6352's Achievements

  1. 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.
  2. So basically you need to build the entire logo yourself with the data that you have there. background_id:2This 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:673This 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:269This 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.
  3. Yeah, there is unfortunately no way to do this via the api. Would also like to have an endpoint to get this data.
  4. 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?
×
×
  • Create New...