A toolset for interacting with MegaFon account.
Project description
PyMegaFon - Manage your MegaFon account
This toolset allows you to automate manipulations with your MegaFon account.
Currently implemented funcions:
- Sign in
- Retrieve account balance
- Retrieve internet subscription status
Quick start
There are two ways to use this "product": as a CLI tool and as a python module.
Install pymegafon
python package:
pip3 install pymegafon
Run in CLI
python3 -m pymegafon --help
Check balance:
python3 -m pymegafon -l 79210001111 -p rND0mPw --check-balance
INFO:root:Signing in...
INFO:root:Balance: 302.44
Check internet subscription remainings:
python3 -m pymegafon -l 79210001111 -p rND0mPw --check-remainings
INFO:root:Signing in...
INFO:root:Internet: {'total': 30, 'available': 7.54}
Reporting bugs
Please, use GitHub issues.
Requesting new functionality
Please, use GitHub issues.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
pymegafon-1.0.1-py3-none-any.whl
(17.3 kB
view hashes)
Close
Hashes for pymegafon-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 524913d96370014bb9d4052ec412ba719354ed7131113619ef560fd0995e2bb2 |
|
MD5 | a17f178ac733685c758e9f6ab8ae35c8 |
|
BLAKE2b-256 | 6976a4863db797bb6b7962f1c1c48df1fe3398b292b2ba3e3811ec8d3de5438f |