Polymarket Data Fetcher
Polymarket Data Fetcher is a Python package that allows you to easily fetch historical odds data from Polymarket for specific market outcomes.
Installation
You can install the Polymarket Data Fetcher using pip:
Usage
Here's a basic example of how to use the Polymarket Data Fetcher:
from polymarket_data_fetcher import PolymarketDataFetcher
# Initialize the fetcher
pm = PolymarketDataFetcher()
# Define the parameters
slug = "will-donald-trump-win-the-2024-us-presidential-election"
start_date = "2024-01-01" # yyyy-mm-dd format
fidelity = "1440" # daily data
# Fetch historical odds for a market
odds = pm.get_historical_odds(slug, start_date, fidelity)
# Display the results
print(odds)
Release files for polymarket-py 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| polymarket_py-0.1.0.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| polymarket_py-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.2 kB
Release files / polymarket_py-0.1.0.tar.gz
| Download URL | polymarket_py-0.1.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d8c1b96e68cc8e63a32a1001809c79ea4957d117f3d66f14b768b363fc6b2cf1
|
|
BLAKE2b-256 checksum How to use checksums |
089770b8c86f77bc52e280aedc68713d2042af739ad1f42f70ef88703db9fa69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Release files / polymarket_py-0.1.0-py3-none-any.whl
| Download URL | polymarket_py-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
312c240516b8291aa4945465c896bf48a8849a685bf2fedaf33fa092865db4a5
|
|
BLAKE2b-256 checksum How to use checksums |
00c23f10b6fa86532597e759e11413a39c596cbe4201168508474e0ee633c17d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|