We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 729a078 commit ac569e9Copy full SHA for ac569e9
2 files changed
README.md
@@ -41,8 +41,6 @@ results = client.search.query({"query": "bitcoin"})
41
# Series and sports
42
series = client.series.list()
43
sports = client.sports.list()
44
-
45
-client.close()
46
```
47
48
### Authenticated Endpoints (Trading)
polymarket_us/__init__.py
@@ -28,4 +28,16 @@
28
"WebSocketError",
29
]
30
31
-__version__ = "0.1.0"
+try:
32
+ from importlib.metadata import version
33
+
34
+ __version__ = version("polymarket-us")
35
+except ImportError:
36
+ # Fallback for Python < 3.8
37
+ try:
38
+ from importlib_metadata import version
39
40
+ except ImportError:
+ # Fallback if package not installed
+ __version__ = "0.1.0"
0 commit comments