Quote:
Originally Posted by Joe Ross
It says there are 274 teams, but only lists 273.
|
I forgot arrays index to 0, and accounted for a ghost team. Fixed it.
The TBA API is set up to refresh its data from FIRST every 10 hours. This is why you've been seeing some lag between this page and the FIRST site.
The old way wasn't fast enough so I set this script to manually invoke an update every hour. But that can change to smaller number if needed.
(The problem is that scraping for data takes a bit of execution time, as well as putting a load on the FIRST server. We don't want to swamp it with requests every 10 seconds)