Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

Guild Wars 2 API

Project description

gw2api is a Python library to interface with the Guild Wars 2 API. It aims to have an almost one-to-one mapping to the JSON API, with only some minor differences.

Usage Example

import gw2api.v2

for item in gw2api.v2.items.get(range(30684, 30705)):
    link = gw2api.encode_item_link(item["id"])
    print "%-26s %-9s %-10s %s" % (item["name"], item["rarity"],
                                   item["details"]["type"], link)

gw2api is available from the Python Package Index and is hosted on GitHub.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gw2api, version 1.1.4
Filename, size File type Python version Upload date Hashes
Filename, size gw2api-1.1.4-py2.py3-none-any.whl (22.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size gw2api-1.1.4.tar.gz (15.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page