View Single Post
  #1   Spotlight this post!  
Unread 11-06-2016, 22:30
tjf's Avatar
tjf tjf is offline
FIRST Year, Best Year
AKA: Tim Flynn
FRC #1257 (Parallel Universe)
Team Role: College Student
 
Join Date: Jun 2016
Rookie Year: 2016
Location: New Jersey
Posts: 127
tjf is a splendid one to beholdtjf is a splendid one to beholdtjf is a splendid one to beholdtjf is a splendid one to beholdtjf is a splendid one to beholdtjf is a splendid one to beholdtjf is a splendid one to behold
The Python Alliance (Lightweight TBA Client in Python)

(this is a CD post of my reddit post here: http://redd.it/4nniua)

Hi everyone,
I spent a day out to learn Python a bit (and am utterly disappointed by the lack of overloading methods, but eh.)
So I wrote a basic interface for TBA using their API and JSON parsing.

Right now, it can do the following things:
  • View all events this season (and their respective alliances for 1-8)
  • View a single team's basic info.
  • View all teams on a TBA page (1-499, 500-999, etc.)
  • View all district codes and their respective names.
  • View district rankings & points.

With more features as I learn more / get requested!

Happy FIRSTing!

https://github.com/MC42/the-python-a...honalliance.py

Screenshots
https://i.imgur.com/zhWc8wb.png
https://i.imgur.com/DZ7K7n2.png
https://i.imgur.com/rgnUraW.png

Last edited by tjf : 11-06-2016 at 22:46. Reason: removed extra spaces & bracket
Reply With Quote