GithubHelp home page GithubHelp logo

tch1b0 / itchio-lib Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 43 KB

An unofficial python library to interact with the REST-API of itch.io

Home Page: https://Tch1b0.github.io/itchio-lib/

License: MIT License

Python 100.00%
itchio typed

itchio-lib's People

Contributors

tch1b0 avatar

Stargazers

 avatar

Watchers

 avatar

itchio-lib's Issues

Library not working?

I just used pip3 to install itchio-lib, and it seems to have installed fine.
However, when i try to use it, or run the test.py included with the project i get these results:

#python3 test.py
Traceback (most recent call last):
File "test.py", line 2, in <module>
import itchio
File "/Users/scottl/Library/Python/3.8/lib/python/site-packages/itchio/__init__.py", line 4, in <module>
from itchio.Game import Game
File "/Users/scottl/Library/Python/3.8/lib/python/site-packages/itchio/Game.py", line 9, in <module>
class Game:
File "/Users/scottl/Library/Python/3.8/lib/python/site-packages/itchio/Game.py", line 61, in Game
def purchases(self, user: Union[str, int, User]) -> list[Purchase]:
TypeError: 'type' object is not subscriptable

I did also have to install the 'typing' package, but i can't get anything other than these errors. I also tried with python2, but had the same responses.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.