mirror of
https://github.com/deesiigneer/pyspapi.git
synced 2026-04-20 12:35:26 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
da86771e3c | ||
|
|
479a02b95f | ||
|
|
5c905ea097 | ||
|
|
83d9663da3 | ||
|
|
93760d2d87 | ||
|
|
108d30ebac |
3
MANIFEST.in
Normal file
3
MANIFEST.in
Normal file
@@ -0,0 +1,3 @@
|
||||
include README.rst
|
||||
include LICENSE
|
||||
include requirements.txt
|
||||
@@ -24,7 +24,7 @@ pyspapi
|
||||
|
||||
Installation
|
||||
-------------
|
||||
**Requires Python 3.9 or higher**
|
||||
**Requires Python 3.8 or higher**
|
||||
|
||||
*Windows*
|
||||
|
||||
|
||||
@@ -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]))
|
||||
@@ -1,3 +1,3 @@
|
||||
from .api import *
|
||||
|
||||
__version__ = "2.1.0"
|
||||
__version__ = "2.1.2"
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user