6 Commits
docs ... 2.1.2

Author SHA1 Message Date
deesiigneer
da86771e3c version bump 2022-07-20 22:21:33 +03:00
deesiigneer
479a02b95f transactions fix #9 2022-07-20 22:20:22 +03:00
deesiigneer
5c905ea097 python version downgrade for /docs 2022-07-20 21:12:47 +03:00
deesiigneer
83d9663da3 version bump 2022-07-20 21:12:17 +03:00
deesiigneer
93760d2d87 add MANIFEST file for pip 2022-07-20 21:02:57 +03:00
deesiigneer
108d30ebac typo fix 2022-07-19 21:52:59 +03:00
6 changed files with 8 additions and 5 deletions

3
MANIFEST.in Normal file
View File

@@ -0,0 +1,3 @@
include README.rst
include LICENSE
include requirements.txt

View File

@@ -24,7 +24,7 @@ pyspapi
Installation
-------------
**Requires Python 3.9 or higher**
**Requires Python 3.8 or higher**
*Windows*

View File

@@ -1,5 +1,5 @@
import pyspapi
spapi = pyspapi.SPAPI(card_id='card_id', token='token').balance
spapi = pyspapi.SPAPI(card_id='card_id', token='token')
print(spapi.check_users_access([262632724928397312, 264329096920563714]))

View File

@@ -1,3 +1,3 @@
from .api import *
__version__ = "2.1.0"
__version__ = "2.1.2"

View File

@@ -140,7 +140,7 @@ class SPAPI:
'amount': amount,
'comment': comment
}
response = self.__make_request('POST', 'transactions', data=body)
response = self.__make_request('POST', '/transactions', data=body)
if not response.ok:
return None
try:

View File

@@ -42,5 +42,5 @@ setup(
packages=packages,
include_package_data=True,
install_requires=requirements,
python_requires='>=3.9.0',
python_requires='>=3.8.0',
)