-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
magnussolution
committed
May 18, 2023
1 parent
e8a6beb
commit 300ceff
Showing
10 changed files
with
185 additions
and
367 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
""" | ||
DEBIAN 11 | ||
sudo apt install wget build-essential libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev | ||
sudo apt install python3 | ||
sudo apt install python3.9-pip | ||
python3.9 -m pip install python-binance | ||
CENTOS 7 | ||
yum install libffi-devel -y | ||
curl -O https://www.python.org/ftp/python/3.9.1/Python-3.9.1.tgz | ||
tar -xzf Python-3.9.1.tgz | ||
cd Python-3.9.1 | ||
./configure --enable-optimizations | ||
make altinstall | ||
python3.9 -m pip install --upgrade pip | ||
pip3.9 install urllib3==1.26.6 | ||
python3.9 -m pip install python-binance | ||
python3.9 /var/www/html/mbilling/protected/commands/crypto.py | ||
""" | ||
import sys | ||
import getopt | ||
from binance.client import Client | ||
import json | ||
from binance.client import Client | ||
import json | ||
client = Client(sys.argv[1], sys.argv[2]) | ||
|
||
|
||
res = client.get_deposit_history(coin=sys.argv[3],startTime=sys.argv[4]+'000') | ||
print(json.dumps(res, indent=2)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.