Skip to content

Python tools to scrape and aggregate defi statistics.

License

Notifications You must be signed in to change notification settings

Steve0verton/defi-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Defi Statistics

Python tools to scrape and aggregate defi statistics. Work in progress

Project Directory Structure

Programs are organized into the following directory structure:

  • api - Programs and tools which use a public API endpoint.
  • utilities - Adhoc utilities.
  • web_scrape - Programs and tools which use web scraping techniques.

Prerequisites

Use of these tools require working knowledge of Python. The following packages are required for python programs written within this repository.

Install Python dependencies

pip install beautifulsoup4 selenium bs4 lxml pandas

Install ChromeDriver

brew install chromedriver

Getting Started

Execute the defillama-protocols.py program to query the DefiLlama API for relevant statistics.

Work in progress...

Reference

https://www.geeksforgeeks.org/how-to-install-selenium-on-macos/ https://stackoverflow.com/questions/38081021/using-selenium-on-mac-chrome

Releases

No releases published

Packages

No packages published