Skip to content

hackedd/gw2api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guild Wars 2 API

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.

About

Guild Wars 2 API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages