bitvavo-api-upgraded 1.17.1__py3-none-any.whl → 1.17.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- bitvavo_api_upgraded/bitvavo.py +2 -3
- {bitvavo_api_upgraded-1.17.1.dist-info → bitvavo_api_upgraded-1.17.2.dist-info}/METADATA +2 -2
- {bitvavo_api_upgraded-1.17.1.dist-info → bitvavo_api_upgraded-1.17.2.dist-info}/RECORD +5 -5
- {bitvavo_api_upgraded-1.17.1.dist-info → bitvavo_api_upgraded-1.17.2.dist-info}/WHEEL +0 -0
- {bitvavo_api_upgraded-1.17.1.dist-info → bitvavo_api_upgraded-1.17.2.dist-info}/licenses/LICENSE.txt +0 -0
bitvavo_api_upgraded/bitvavo.py
CHANGED
@@ -5,6 +5,7 @@ import hashlib
|
|
5
5
|
import hmac
|
6
6
|
import json
|
7
7
|
import time
|
8
|
+
from pathlib import Path
|
8
9
|
from threading import Thread
|
9
10
|
from typing import Any, Callable
|
10
11
|
|
@@ -158,9 +159,6 @@ def callback_example(response: Any) -> None:
|
|
158
159
|
"""
|
159
160
|
if isinstance(response, dict):
|
160
161
|
# instead of printing, you could save the object to a file:
|
161
|
-
import json
|
162
|
-
from pathlib import Path
|
163
|
-
|
164
162
|
HERE = Path.cwd() # root of your project folder
|
165
163
|
filepath = HERE / "your_output.json"
|
166
164
|
# a = append; figure out yourself to create multiple callback functions, probably one for each type of call that
|
@@ -591,6 +589,7 @@ class Bitvavo:
|
|
591
589
|
"nonce": 10378032,
|
592
590
|
"bids": [["1.1908", "600"], ["1.1902", "4091.359809"], ["1.1898", "7563"]],
|
593
591
|
"asks": [["1.1917", "2382.166997"], ["1.1919", "440.7"], ["1.192", "600"]],
|
592
|
+
"timestamp": 1700000000000,
|
594
593
|
}
|
595
594
|
|
596
595
|
# Notice how each bid and ask is also a list
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: bitvavo-api-upgraded
|
3
|
-
Version: 1.17.
|
3
|
+
Version: 1.17.2
|
4
4
|
Summary: A unit-tested fork of the Bitvavo API
|
5
5
|
Project-URL: homepage, https://github.com/Thaumatorium/bitvavo-api-upgraded
|
6
6
|
Project-URL: repository, https://github.com/Thaumatorium/bitvavo-api-upgraded
|
@@ -30,7 +30,7 @@ Classifier: Typing :: Typed
|
|
30
30
|
Requires-Python: >=3.9
|
31
31
|
Requires-Dist: pydantic-settings==2.*,>=2.6
|
32
32
|
Requires-Dist: requests==2.*,>=2.26
|
33
|
-
Requires-Dist: structlog==
|
33
|
+
Requires-Dist: structlog==25.*,>=21.5
|
34
34
|
Requires-Dist: websocket-client==1.*,>=1.2
|
35
35
|
Description-Content-Type: text/markdown
|
36
36
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
bitvavo_api_upgraded/__init__.py,sha256=CSK4JninN6nxMUqoT-S_Vl9UJc4NOqwfbbZf-Qnvpo4,222
|
2
|
-
bitvavo_api_upgraded/bitvavo.py,sha256
|
2
|
+
bitvavo_api_upgraded/bitvavo.py,sha256=s7l-cAl0FteBrm5iF-gnM_U9_-Yds9lpn5pN6f0oaZU,125981
|
3
3
|
bitvavo_api_upgraded/helper_funcs.py,sha256=4oBdQ1xB-C2XkQTmN-refzIzWfO-IUowDSWhOSFdCRU,3212
|
4
4
|
bitvavo_api_upgraded/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
5
|
bitvavo_api_upgraded/settings.py,sha256=ZH2sR9iUyOC_lSaqmT50wERngUuobvu8d0TLiYN5nTg,2266
|
6
6
|
bitvavo_api_upgraded/type_aliases.py,sha256=NAnMSk5n6SaEIvHFeSMKnXOxfOwnbFuEnRKaAXlcmYw,932
|
7
|
-
bitvavo_api_upgraded-1.17.
|
8
|
-
bitvavo_api_upgraded-1.17.
|
9
|
-
bitvavo_api_upgraded-1.17.
|
10
|
-
bitvavo_api_upgraded-1.17.
|
7
|
+
bitvavo_api_upgraded-1.17.2.dist-info/METADATA,sha256=U_5w2WGTB4xykCwIgh3KtcfsVzsYDS3NZWlHwVRz1Tk,11547
|
8
|
+
bitvavo_api_upgraded-1.17.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
9
|
+
bitvavo_api_upgraded-1.17.2.dist-info/licenses/LICENSE.txt,sha256=hiFyor_njVlzVblnb-78mzx1Um3CGvuFxEH3YR735rc,744
|
10
|
+
bitvavo_api_upgraded-1.17.2.dist-info/RECORD,,
|
File without changes
|
{bitvavo_api_upgraded-1.17.1.dist-info → bitvavo_api_upgraded-1.17.2.dist-info}/licenses/LICENSE.txt
RENAMED
File without changes
|