Skip to content

Backend service that scrapes data from Pokemon Showdown to compile the teams used by the top players and save that info to a MongoDB database.

Notifications You must be signed in to change notification settings

hoklims/Showdown-Team-Scraper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend Data Scraper for Babiri

This is an implementation of the backend to Babiri, a Pokémon stats aggregation and visualization website for competitive VGC and OU players.

About

The main script, ShowdownDataScraper.py, is designed to be run once per day to scrape Pokémon Showdown's public ladder API for a specific format. It then saves 100 of the top publicly available teams, as well as usage data (not yet implemented), to a MongoDB database.

Also included is a bonus script, SpriteDownloader.py, that will download any missing Pokémon sprites from Showdown to the specified folder if needed for the frontend.

Getting Started

Prerequisites

To run the program, first set the 'mongoURI', 'databaseName', and 'format' fields in your environment variables to your MongoDB connection URI and database name as well as the desired Showdown format. Then simply run the main script ShowdownDataScraper.py.

Acknowledgements

About

Backend service that scrapes data from Pokemon Showdown to compile the teams used by the top players and save that info to a MongoDB database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%