Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hockey Data Project
#2
(Mar-24-2020, 05:13 PM)Joeylax54 Wrote: right now I pull an individual team roster based on their API link to get player IDs

Seems sensible. If you don't know the IDs ahead of time, then you have to get them from somewhere and one would assume the /roster endpoint is the natural way to do that.

Quote: but I want to be able to query player directly on different teams without possibly having to select the roster first

Why? What's wrong with making two calls?
Reply


Messages In This Thread
Hockey Data Project - by Joeylax54 - Mar-24-2020, 05:13 PM
RE: Hockey Data Project - by ndc85430 - Mar-24-2020, 07:17 PM
RE: Hockey Data Project - by Joeylax54 - Mar-24-2020, 08:07 PM
RE: Hockey Data Project - by ndc85430 - Mar-25-2020, 03:30 AM
RE: Hockey Data Project - by Joeylax54 - Mar-26-2020, 08:25 PM
RE: Hockey Data Project - by ndc85430 - Mar-28-2020, 05:16 PM
RE: Hockey Data Project - by snippsat - Mar-28-2020, 10:25 PM
RE: Hockey Data Project - by Joeylax54 - Mar-29-2020, 05:20 AM
RE: Hockey Data Project - by yummykudos - Apr-18-2020, 02:20 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020