https://github.com/itsdouges/gw2-item-stats-api
Api to get access to rich item stats via the gw2 api [MANUALLY DEPLOYED TO AWS]
https://github.com/itsdouges/gw2-item-stats-api
Last synced: 6 months ago
JSON representation
Api to get access to rich item stats via the gw2 api [MANUALLY DEPLOYED TO AWS]
- Host: GitHub
- URL: https://github.com/itsdouges/gw2-item-stats-api
- Owner: itsdouges
- License: mit
- Created: 2020-01-26T22:22:03.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T05:47:23.000Z (about 3 years ago)
- Last Synced: 2025-04-06T13:22:26.094Z (10 months ago)
- Language: JavaScript
- Homepage: https://fh1ydk3yra.execute-api.us-east-1.amazonaws.com/default/read?id=656&item=77482&lang=en
- Size: 447 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gw2-item-stats-api
## `read`
`https://fh1ydk3yra.execute-api.us-east-1.amazonaws.com/default/read?id={statsId}&item={itemId}&lang={lang}`
### Query params
- id (item stats id)
- item (item id)
- lang (language)
Example usage:
```sh
$ curl https://fh1ydk3yra.execute-api.us-east-1.amazonaws.com/default/read?id=656&item=77482&lang=en
{"id":656,"name":"Cleric's","attributes":[]}
```
## `bulk_read`
### Query params
- lang (language)
### Body
`https://fh1ydk3yra.execute-api.us-east-1.amazonaws.com/default/bulk_read?lang={lang}`
Array of items.
- calculatedId = `itemId + id`
```json
[
{
"calculatedId": "806481379",
"id": 1379,
"itemId": 80648,
"type": "Coat",
"rarity": "Ascended",
"level": 80
}
]
```
Example usage:
```sh
$ curl --header "Content-Type: application/json" \
--request POST \
--data '[{"calculatedId": "806481379","id": 1379,"itemId": 80648,"type": "Coat","rarity": "Ascended","level": 80}]' \
https://fh1ydk3yra.execute-api.us-east-1.amazonaws.com/default/bulk_read?lang=en
[{"id":1379,"name":"Grieving","attributes":[{"attribute":"Power","modifier":121},{"attribute":"Precision","modifier":67},{"attribute":"CritDamage","modifier":67},{"attribute":"ConditionDamage","modifier":121}]}]
```