lcosmin / boardgamegeek

A Python interface to boardgamegeek.com. Pulls information from BGG and creates Python objects for the data.
BSD 3-Clause "New" or "Revised" License
118 stars 71 forks source link

BGGClient is not defined #72

Open GrinningGeek opened 1 year ago

GrinningGeek commented 1 year ago
import boardgamegeek

bgg = BGGClient()

NameError Traceback (most recent call last) ~\AppData\Local\Temp\ipykernel_908\3723979965.py in 1 import boardgamegeek 2 ----> 3 bgg = BGGClient()

NameError: name 'BGGClient' is not defined

SukiCZ commented 9 months ago

Hi @GrinningGeek

Replacing the line import boardgamegeek to from boardgamegeek import BGGClient should fix your issue.

Anyway, as stated in the last commit 37f74d9 the maintainer will not continue his work so I've created a fork here, the library can be installed from PyPi with updated docs and more.

Feel free to close this Issue and use updated library instead, contributions are welcome ❤️ thanks!