crustymonkey / py-bgg

A simple Board Game Geek (boardgamegeek.com) API library in Python. This mainly just handles the API calls and converts the XML to representative dict/list format
GNU General Public License v2.0
30 stars 8 forks source link

Readme example typo #7

Closed pszczypka closed 2 years ago

pszczypka commented 2 years ago

V2 code should read:

# V2
conn2 = BGG2()
results = conn2.boardgame(136888, stats=True)
print(json.dumps(results, indent=4, sort_keys=True))

not

# V2
conn2 = BGG2()
results = conn.boardgame(136888, stats=True)
print(json.dumps(results, indent=4, sort_keys=True))
crustymonkey commented 2 years ago

Nice catch, fixed.