Site
Home / Forum / Developers / Having trouble with python module

Having trouble with python module


Posted: 17 Jun 2019 23:00

zag


Posts: 3,527
Joined: 2020

Tried setting up the python module when I run the test code from the github

import thesportsdb
api = thesportsdb.Api(key="1"
players = api.Search().Players(team="Arsenal"
for player in players:
print(player.strPlayer)

Api is not recognized as a attribute.

Posted: 18 Jun 2019 09:30

zag


Posts: 3,527
Joined: 2020

Hi,

I think the current Python Module has a dependency on the Kodi software from memory. Its an external developer so we don't have much control over it so this may have changed.

Best thing to do is start an issue on Github to ask the developer, he is quite helpful and is a member here.

Posted: 18 Jun 2019 22:34

zag


Posts: 3,527
Joined: 2020

Hi,

I think the current Python Module has a dependency on the Kodi software from memory. Its an external developer so we don't have much control over it so this may have changed.

Best thing to do is start an issue on Github to ask the developer, he is quite helpful and is a member here.


thanks


Who is Online?

In total there are 68 users online :: 3 registered, 0 hidden and 65 guests (based on users active over the past 5 minutes) Most users ever online was 424 on Fri Nov 10, 2017 9:02 pm

About Us

Discussion forum for TheSportsDB.com site and related topics

Rules

- Be Polite
- Respect other users
- Always post log files with issues
- Try to be helpful
- No Piracy discussion

Showing 0 to 3 (Total: 3)