Closed benstigsen closed 7 years ago
Should be:
import steamapi
steam = steamapi.SteamAPI()
Capitalization matters very much so.
If i write:
import steamapi
steam = steamapi.SteamAPI
("steamapi has no attribute named SteamAPI")
and if i write:
import steamapi as SteamAPI
(An error happens here aswell)
(This was a fresh clone of the git repo)
Please check you've got the latest version and try again. The problem is on your side, not my package's side.
The first to lines of my code are
import steamapi as SteamAPI
(won't work when i type "as SteamAPI")steam = SteamAPI.steamAPI()
(an error happens here saying steamapi has no attribute named SteamAPIThen the next part is:
(works fine)
But then i come to this:
status = steam.login(username=UserLogin, password=UserPassLogin)
(Again steam.login doesn't work since the assignment "steam = SteamAPI.steamAPI()" didn't work) Everything after that doesn't work because of missing attributes and assignment failure