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

sreilly64/Showdown-Team-Scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 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 doubles players.

About

The main script, ShowdownDataScraper.py, is designed to be run once per day and scrapes data from Pokémon Showdown's public ladder API for specific formats. It then saves 100 of the top publicly available teams, as well as usage data (not yet implemented), for each of these formats 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 'mongoURI', 'databaseName', and 'format' in your environment variables to your MongoDB connection URI, database name, and the desired Pokémon Showdown formats (as a comma separated list). 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