Pulling all Masters data (years question)

I’m just slow, but how do I pull every year since 2010 Masters SG data:

https://feeds.datagolf.com/historical-raw-data/rounds?tour=pga&event_id=14&year=[ year ]&file_format=[ file_format ]&key=

I know the event number, but can’t figure out how to run the query for all years. Surely I don’t have to run 15 queries?

Yes, you do have to do 15 (*16) queries. It should be pretty easy to loop through the years. And you probably want file_format=csv.

Yep and you’re right it was pretty easy, thank you.

1 Like