Forum Discussion

Jannis68's avatar
Jannis68
Frequent Visitor
8 years ago

importing dynamic json file

Hi, 

 

I am a keen player of fantasy Premier League, and are looking for a way to load team-picks for the players in my private league. The link below shows the structure of the link:

 

https://fantasy.premierleague.com/drf/entry/722115/event/1/picks

 

  • 722115 = my team_id
  • 1 = round number

 

I am looking for a simple M script that can update a flat table based on a table of team_ids and round_numbers. Furhtermore, the array of round number should be within the range of 1 and last round played (can be a parameter). Below is a copy of the current Advanced Editor:

 

 

 

 

 

best,

Jan Nylund

 

 

 

5 Replies