Skip to main content

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

#!/usr/bin/env python
import gw2api

for item_id in range(30684, 30705):
    details = gw2api.item_details(item_id)
    link = gw2api.encode_item_link(item_id)
    print "%-26s %-9s %-10s %s" % (details["name"], details["rarity"],
                                   details["weapon"]["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.

Source Distribution

gw2api-1.0.2.tar.gz (16.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page