flipzi 0.1.0__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.
- flipzi/__init__.py +54 -0
- flipzi/_async_client.py +689 -0
- flipzi/_base.py +227 -0
- flipzi/_sync_client.py +688 -0
- flipzi/_version.py +1 -0
- flipzi/enums.py +211 -0
- flipzi/errors.py +56 -0
- flipzi/models.py +1889 -0
- flipzi/py.typed +0 -0
- flipzi-0.1.0.dist-info/METADATA +259 -0
- flipzi-0.1.0.dist-info/RECORD +13 -0
- flipzi-0.1.0.dist-info/WHEEL +4 -0
- flipzi-0.1.0.dist-info/licenses/LICENSE +9 -0
flipzi/__init__.py
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"""Official Python client for the Flipzi Data API (https://flipzi.io/docs/).
|
|
2
|
+
|
|
3
|
+
from flipzi import Flipzi
|
|
4
|
+
flipzi = Flipzi(api_key="fz_live_...")
|
|
5
|
+
print(flipzi.price("0908653a-ce24-4d7e-811e-78c2935bd822")["data"]["prices"][0]["price_formatted"])
|
|
6
|
+
"""
|
|
7
|
+
from . import models
|
|
8
|
+
from ._async_client import AsyncFlipzi
|
|
9
|
+
from ._base import DEFAULT_BASE_URL, ResponseMeta
|
|
10
|
+
from ._sync_client import Flipzi
|
|
11
|
+
from ._version import __version__
|
|
12
|
+
from .enums import (
|
|
13
|
+
CardmarketGrade,
|
|
14
|
+
CardmarketLanguage,
|
|
15
|
+
Condition,
|
|
16
|
+
Currency,
|
|
17
|
+
Finish,
|
|
18
|
+
Game,
|
|
19
|
+
Grader,
|
|
20
|
+
Marketplace,
|
|
21
|
+
MoverDirection,
|
|
22
|
+
MoverWindow,
|
|
23
|
+
Period,
|
|
24
|
+
SearchLanguage,
|
|
25
|
+
SoldLanguage,
|
|
26
|
+
grade,
|
|
27
|
+
)
|
|
28
|
+
from .errors import FlipziError
|
|
29
|
+
from .models import SPEC_VERSION
|
|
30
|
+
|
|
31
|
+
__all__ = [
|
|
32
|
+
"Flipzi",
|
|
33
|
+
"AsyncFlipzi",
|
|
34
|
+
"FlipziError",
|
|
35
|
+
"ResponseMeta",
|
|
36
|
+
"DEFAULT_BASE_URL",
|
|
37
|
+
"SPEC_VERSION",
|
|
38
|
+
"__version__",
|
|
39
|
+
"models",
|
|
40
|
+
"Marketplace",
|
|
41
|
+
"Currency",
|
|
42
|
+
"Condition",
|
|
43
|
+
"CardmarketGrade",
|
|
44
|
+
"CardmarketLanguage",
|
|
45
|
+
"Grader",
|
|
46
|
+
"grade",
|
|
47
|
+
"Game",
|
|
48
|
+
"SoldLanguage",
|
|
49
|
+
"SearchLanguage",
|
|
50
|
+
"Finish",
|
|
51
|
+
"Period",
|
|
52
|
+
"MoverWindow",
|
|
53
|
+
"MoverDirection",
|
|
54
|
+
]
|