skhg / pypremiumsim Goto Github PK
View Code? Open in Web Editor NEW๐ฑ Unofficial Python API for accessing your PremiumSIM.de account balance & usage stats
License: MIT License
๐ฑ Unofficial Python API for accessing your PremiumSIM.de account balance & usage stats
License: MIT License
The library is not working anymore as drillisch made some changes.
I found out the following right now:
the csfr_token was renamed to only _token.
Changing that should fix the issue.
By the way, all drillisch provider use the same site/url/html page
A nice extention would be to choose the provider by the user.
I get this error while running the code:
Traceback (most recent call last): File "C:\Users\mproell\AppData\Local\Temp\tempCodeRunnerFile.python", line 5, in <module> session.try_login("*****", "*****") File "C:\Users\mproell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\pypremiumsim\PyPremiumSIM.py", line 68, in try_login return self.__handle_login_response(login_validation_response.content) File "C:\Users\mproell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\pypremiumsim\PyPremiumSIM.py", line 48, in __handle_login_response raise IOError("Unknown error.") OSError: Unknown error.
I wanna use this library in my async program but its blocking code..
Can you please add support for asyncio?
If someone wants to localise this thing into German, feel free :-)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.