diff --git a/README.rst b/README.rst index 2e7a9de..75cf4cf 100644 --- a/README.rst +++ b/README.rst @@ -18,46 +18,44 @@ :alt: pyspapi documentation pyspapi -======= +======== `API `_ wrapper for SP servers written in Python. - - Installation -========== -**Requires Python 3.7 or higher** +------------- +**Requires Python 3.9 or higher** *Windows* + .. code:: sh pip install pyspapi - -*Linux* + +*Linux/macOS* .. code:: sh sudo apt pip3 install pyspapi Quick example -========= +-------------- Checking the balance -~~~~ - -.. code:: python +~~~~~~~~~~~~~~~~~~~~~ +.. code:: py import pyspapi - - print(pyspapi.SPAPI(card_id='card_id', token='token').balance) + print(pyspapi.SPAPI(card_id='card_id', token='token').balance) More examples can be found in the `examples `_ Links -======= -* `Discord server `_ -* `pyspapi documentation `_ -* `PyPi `_ -* `API documentation for SP sites `_ +------ + +- `Discord server `_ +- `pyspapi documentation `_ +- `PyPi `_ +- `API documentation for SP sites `_ diff --git a/pyspapi/__init__.py b/pyspapi/__init__.py index b75df83..30f68c0 100644 --- a/pyspapi/__init__.py +++ b/pyspapi/__init__.py @@ -1,3 +1,3 @@ from .api import * -__version__ = "2.0.0" +__version__ = "2.0.0a" diff --git a/requirements.txt b/requirements.txt index d15ce5a..5e77405 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -requests==2.28.1 +requests==2.28.1 \ No newline at end of file diff --git a/setup.py b/setup.py index 663c19d..47cf969 100644 --- a/setup.py +++ b/setup.py @@ -29,9 +29,13 @@ setup( name='pyspapi', license='MIT', author='deesiigneer', - author_email='xdeesiigneerx@gmail.com', version=version, url='https://github.com/deesiigneer/pyspapi', + project_urls={ + "Documentation": "https://pyspapi.readthedocs.io/ru/latest/", + "GitHub": "https://github.com/deesiigneer/pyspapi", + "Discord": "https://discord.com/invite/VbyHaKRAaN" + }, description='API wrapper for SP servers written in Python', long_description=readme, long_description_content_type='text/x-rst',