freshcoders / discorki

MIT License
1 stars 0 forks source link

Add in-game-with-a-pro notification #5

Closed jessedezwart closed 1 year ago

jessedezwart commented 1 year ago

This notification should trigger when a player gets in game and is in game with a pro.

There is a way to crawl a pro tracking site for usernames.

  1. A list of pro players can be retrieved via [GET] https://www.trackingthepros.com/d/list_players (returns json).
  2. For each player [GET] https://www.trackingthepros.com/d/pro_feed?player_id={{id}} (returns json).

Should be about 2000 calls total.

jessedezwart commented 1 year ago

In hindsight, I don't think we should rely on crawling like this without permission. Even if we got permission, the API could change without us knowing since it isn't public.