Skip to content

mmarfinetz/polymarketdata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polymarket Data Fetcher Web App

A simple web application to fetch and download top markets and events data from Polymarket.

Features

  • Fetch top 50 markets by volume
  • Fetch top 50 events by 24h volume
  • View results in a sortable table
  • Download data as CSV files

Installation

  1. Clone this repository
  2. Install required packages:
pip install -r requirements.txt

Usage

  1. Run the web application:
# Option 1: Using the run script (recommended)
python run.py

# Option 2: Using Flask directly
python -m flask --app app run
  1. Open your browser and navigate to http://127.0.0.1:5000/
  2. Click on either "Fetch Top Markets" or "Fetch Top Events"
  3. After the data is loaded, you can download the CSV file using the "Download CSV" button

Files

  • app.py: Flask web application
  • polymarket.py: Module for fetching top markets data
  • polymarketevents.py: Module for fetching top events data
  • templates/index.html: HTML template for the web interface

Requirements

  • Python 3.7+
  • Flask
  • Requests
  • Pandas
  • python-dateutil

About

fetch top 50 events + market from polymarket

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published