/FRC_BA_Webscraper

A python script used for scouting before and after FRC tournaments.

Primary LanguagePython

FRC Python Scout

Current Version: 0.7

If you are testing the software please leave issue reports filed under either "bug fix" or "feature suggestions" to help with development!

This project utilizes the tbapy python library developed by FRC team 1418

Unless you are intentionally modifying or adding new features, you will only need to call event_report() function to generate a spreadsheet

Sample call to function: event_report("2019cadm") (Pulls information about the Del Mar weeek one regional tournament

How to Use Project in Current State:

  • Ensure Microsoft Excel is installed(functionality not yet tested with LibreOffice, but may still work)
  • Download xlwt python library (using pip install)
  • Download tbapy python library (using pip install)
  • Generate a new token under account page on the blue alliance
  • Replace tba variable in code with your token as a string
  • Call event_report(event) function with parameter of a string 'event' where event is the code for a given FRC tournament (event codes are the end of a link to an event page on the blue alliance)(event_report("2019cadm") is a working example)
  • A new spreadsheet with basic statistics about all teams at the event will be created within the project folder

Changes to come:

  • Add pre-scouting capability to search through all teams at a given event and get all history at other events for the current season