mirror of
https://github.com/curly60e/pyblock.git
synced 2026-08-18 13:08:54 +02:00
Update ppi.py
This commit is contained in:
parent
eb4be061f6
commit
66317b3104
1 changed files with 65 additions and 0 deletions
65
ppi.py
65
ppi.py
|
|
@ -266,6 +266,71 @@ def whalConn2():
|
|||
|
||||
#-----------------------------END WhaleAlert--------------------------------
|
||||
|
||||
#-----------------------------Zebedee--------------------------------
|
||||
|
||||
def zebeConn1():
|
||||
try:
|
||||
clear()
|
||||
blogo()
|
||||
closed()
|
||||
conn = "curl --location --request GET 'https://api.zebedee.io/v0/wallet' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--header 'apikey: API_KEY'"
|
||||
a = os.popen(conn).read()
|
||||
clear()
|
||||
blogo()
|
||||
closed()
|
||||
print(a)
|
||||
input("\a\nContinue...")
|
||||
except:
|
||||
pass
|
||||
def zebeConn2():
|
||||
try:
|
||||
clear()
|
||||
blogo()
|
||||
closed()
|
||||
conn = "curl --location --request POST 'https://api.zebedee.io/v0/charges' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--header 'apikey: API_KEY' \
|
||||
--data-raw '{
|
||||
"expiresIn": ,
|
||||
"amount": "",
|
||||
"description": "My Charge Description",
|
||||
"internalId": "",
|
||||
"callbackUrl": "https://your-website.com/callback"
|
||||
}'"
|
||||
a = os.popen(conn).read()
|
||||
clear()
|
||||
blogo()
|
||||
closed()
|
||||
print(a)
|
||||
input("\a\nContinue...")
|
||||
except:
|
||||
pass
|
||||
def zebeConn3():
|
||||
try:
|
||||
clear()
|
||||
blogo()
|
||||
closed()
|
||||
conn = "curl --location --request POST 'https://api.zebedee.io/v0/payments' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--header 'apikey: API_KEY' \
|
||||
--data-raw '{
|
||||
"description": "My Custom Payment Description",
|
||||
"internalId": "",
|
||||
"invoice": ""
|
||||
}'"
|
||||
a = os.popen(conn).read()
|
||||
clear()
|
||||
blogo()
|
||||
closed()
|
||||
print(a)
|
||||
input("\a\nContinue...")
|
||||
except:
|
||||
pass
|
||||
|
||||
#-----------------------------END Zebedee--------------------------------
|
||||
|
||||
#-----------------------------wttr.in--------------------------------
|
||||
def wttrDataV1():
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue