mirror of
https://github.com/deesiigneer/pyspapi.git
synced 2026-04-20 04:25:25 +00:00
typo pypi fix
This commit is contained in:
34
README.rst
34
README.rst
@@ -18,46 +18,44 @@
|
|||||||
:alt: pyspapi documentation
|
:alt: pyspapi documentation
|
||||||
|
|
||||||
pyspapi
|
pyspapi
|
||||||
=======
|
========
|
||||||
|
|
||||||
`API <https://github.com/sp-worlds/api-docs>`_ wrapper for SP servers written in Python.
|
`API <https://github.com/sp-worlds/api-docs>`_ wrapper for SP servers written in Python.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
==========
|
-------------
|
||||||
**Requires Python 3.7 or higher**
|
**Requires Python 3.9 or higher**
|
||||||
|
|
||||||
*Windows*
|
*Windows*
|
||||||
|
|
||||||
|
|
||||||
.. code:: sh
|
.. code:: sh
|
||||||
|
|
||||||
pip install pyspapi
|
pip install pyspapi
|
||||||
|
|
||||||
*Linux*
|
*Linux/macOS*
|
||||||
|
|
||||||
.. code:: sh
|
.. code:: sh
|
||||||
|
|
||||||
sudo apt pip3 install pyspapi
|
sudo apt pip3 install pyspapi
|
||||||
|
|
||||||
Quick example
|
Quick example
|
||||||
=========
|
--------------
|
||||||
|
|
||||||
Checking the balance
|
Checking the balance
|
||||||
~~~~
|
~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
.. code:: py
|
||||||
.. code:: python
|
|
||||||
|
|
||||||
import pyspapi
|
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 <https://github.com/deesiigneer/pyspapi/tree/main/examples>`_
|
More examples can be found in the `examples <https://github.com/deesiigneer/pyspapi/tree/main/examples>`_
|
||||||
|
|
||||||
Links
|
Links
|
||||||
=======
|
------
|
||||||
* `Discord server <https://discord.gg/VbyHaKRAaN>`_
|
|
||||||
* `pyspapi documentation <https://pyspapi.readthedocs.io/>`_
|
- `Discord server <https://discord.gg/VbyHaKRAaN>`_
|
||||||
* `PyPi <https://pypi.org/project/pyspapi/>`_
|
- `pyspapi documentation <https://pyspapi.readthedocs.io/>`_
|
||||||
* `API documentation for SP sites <https://github.com/sp-worlds/api-docs>`_
|
- `PyPi <https://pypi.org/project/pyspapi/>`_
|
||||||
|
- `API documentation for SP sites <https://github.com/sp-worlds/api-docs>`_
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
from .api import *
|
from .api import *
|
||||||
|
|
||||||
__version__ = "2.0.0"
|
__version__ = "2.0.0a"
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
requests==2.28.1
|
requests==2.28.1
|
||||||
6
setup.py
6
setup.py
@@ -29,9 +29,13 @@ setup(
|
|||||||
name='pyspapi',
|
name='pyspapi',
|
||||||
license='MIT',
|
license='MIT',
|
||||||
author='deesiigneer',
|
author='deesiigneer',
|
||||||
author_email='xdeesiigneerx@gmail.com',
|
|
||||||
version=version,
|
version=version,
|
||||||
url='https://github.com/deesiigneer/pyspapi',
|
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',
|
description='API wrapper for SP servers written in Python',
|
||||||
long_description=readme,
|
long_description=readme,
|
||||||
long_description_content_type='text/x-rst',
|
long_description_content_type='text/x-rst',
|
||||||
|
|||||||
Reference in New Issue
Block a user