Merge pull request #12 from curly60e/curly60e-patch-6

Update apisnd.py
This commit is contained in:
curly60e 2020-05-26 20:24:42 -03:00 committed by GitHub
commit 89e8aec6b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ def apisender():
)
url = 'https://api.blockstream.space/order'
message = input("\nInsert your Message: ")
sentby = "...PyBLOCK."
sentby = "- PyBLOCK."
print("ATENTION: Minimum amount for sending a text is 5000 MSats")
amountmsat = input("\nInsert the amount in MSats: ")
curl = 'curl -F ' "bid={} ".format(amountmsat) + '-F ' + ' "message=' + message + sentby + '" ' + url