Metadata-Version: 2.1
Name: pypremiumsim
Version: 0.0.2
Summary: PremiumSIM API (Unofficial). Access basic account details and status information.
Home-page: https://github.com/skhg/pyPremiumSIM
Author: Jack Higgins
Author-email: pypi@jackhiggins.ie
License: MIT
Description: # pyPremiumSIM
        [![PyPI](https://img.shields.io/pypi/v/pypremiumsim.svg)](https://pypi.python.org/pypi/pypremiumsim/) [![Codecov](https://img.shields.io/codecov/c/github/skhg/pypremiumsim.svg)](https://codecov.io/gh/skhg/pypremiumsim)
        
        A Python API for accessing your [PremiumSIM.de](https://www.premiumsim.de/) account balance &amp; usage stats. This is an unoffical API and the author/contributors are in no way connected to PremiumSIM or Drillisch. The API provides a method to:
        * Get your current month's data balances (consumed and remaining GB)
        
        ## Installation
        `pip install pypremiumsim`
        
        ## Usage
        It's very easy to use. Try the following to get your balance data:
        ```python
        from pypremiumsim import *
        from pprint import pprint
        
        session = PremiumSimSession()
        session.try_login("<username>", "<password>")
        data_used = session.current_month_data_usage()
        
        pprint(vars(data_used))
        ```
        returns:
        ```python
        {'consumed_data_gb': 0.73585937,
         'tariff_total_data_gb': 20.0,
         'used_percentage': 3.7}
         ```
         
         ## Tests
         `python ./tests/tests.py`
         
         ## Contributing
         Fork this repo, make some changes and create a new pull request!
        
Keywords: PremiumSIM mobile phone handy balance status web germany deutschland scraper api
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.6
Description-Content-Type: text/markdown
