Metadata-Version: 2.1
Name: pymegafon
Version: 1.0.2
Summary: A toolset for interacting with MegaFon account.
Home-page: https://github.com/pymegafon/
Author: Pavel Kim
Author-email: hello@pavelkim.ru
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown

# PyMegaFon - Manage your MegaFon account

This toolset allows you to automate manipulations with your MegaFon account.

Currently implemented funcions:
1. Sign in
2. Retrieve account balance
3. 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:

```bash
$ python3 -m pip install --user pymegafon
```

### Run in CLI

```bash
$ python3 -m pymegafon --help
```

Check balance:
```bash
$ python3 -m pymegafon -l 79210001111 -p rND0mPw --check-balance
INFO:root:Signing in...
INFO:root:Balance: 302.44
```

Check internet subscription remainings:
```bash
$ 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.


