sprx97 / OldTimeHockey

Website and scripts for OldTimeHockey fantasy hockey league.
http://www.roldtimehockey.com
3 stars 5 forks source link

Instead of scraping, use the official Fleaflicker API #67

Closed sprx97 closed 2 years ago

sprx97 commented 4 years ago

https://www.fleaflicker.com/api-docs/index.html

Would need to verify I can actually access everything I need, but should be more stable than scraping.

sprx97 commented 3 years ago

Also update to use pymysql DictCursor.

This should unblock my ability to link to matchups, teams, and leagues in the reddit weekly stats posts.

sprx97 commented 3 years ago

Unfortunately this is now blocked -- Fleaflicker's API does not provide an easy way as far as I can tell to obtain Coach Rating and IsChampion, which are must-haves for my scraping. I did convert one area of it.

sprx97 commented 3 years ago

I don't think this is blocking anymore, due to some new calls I found. Will require more calculation and storing entire matchups, but it's doable.

sprx97 commented 2 years ago

Unblocked this for now because apparently ties break everything