PowerPlatformConnectors/independent-publisher-conne.../Fantasy Premier League
Luise Freese 4b3d85b1a8
Update README.md (#2034)
typo fix
2022-10-06 13:40:38 -07:00
..
README.md Update README.md (#2034) 2022-10-06 13:40:38 -07:00
apiDefinition.swagger.json Fantasy Premier League (Independent Publisher) (#1927) 2022-09-16 18:37:56 -07:00
apiProperties.json Fantasy Premier League (Independent Publisher) (#1927) 2022-09-16 18:37:56 -07:00

README.md

Fantasy Premier League Independent Connector

The Fantasy Premier League independent connector allows you to gather information from your fantasy football(soccer) leagues, ratings, information on current fixtures, general information and more. This will allow you to gather information on your fantasy league and post information about your league, such as current standings, to your Microsoft Teams groupchat or channel.

Publisher: Joe Unwin (FlowJoe)

Pre-requisites

To use this connector, you need the following

  1. A Microsoft Power Apps or Power Automate plan with custom connector feature
  2. A Fantasy Premier League account (You do not need any API authentication, just access to getting an ID of a league)

Obtaining Credentials

You do not need any API authentication credentials, you do need access to the Fantasy Premier League website to gather ID's to make requests.

League ID: This can be found by navigating to a league on a desktop device and copying the ID from the URL. Example; https://fantasy.premierleague.com/leagues/258156/standings/c You would copy the ID 258156 from the URL.

Manager ID: This can be found by navigating to the 'Points' section on a desktop device and copying the ID from the URL. Example; https://fantasy.premierleague.com/entry/583476/event/5 You would copy the ID 583476 from the URL.

Event ID: This is the current Game Week number, for example if it is game week five you would put '5' as the event ID.

Supported Operations

The connector supports the following operations:

  • Classic League Standings

    • The Classic Leage Standings endpoint allows you to retrieve information from your league, including player first and last names, team names, overall league position, last weeks league position, total points and game week points.
  • Manager/User History

    • The Manager/User History endpoint allows you to gather current and past years history on managers.
  • Manager/User Basic Information

    • The Manager/User History endpoint allows you to gather information such as team names, first and last name, leagues joined and more.
  • Game Week Live Data

    • The Game Week Live Data endpoint allows you to get current live gameweek information, such as most captained, top scoring player, average score and more.
  • Player Detailed Data

    • The Player Detailed Data endpoint returns a players detailed information divided into 3 sections; fixtures, current league history and previous years history.
  • Fixtures

    • The Fixtures endpoint returns a JSON array which contains every fixture of the season.
  • General Information

    • The General Information endpoint returns general information about the Fantasy Premier League.

Known Issues and Limitations

Frequently Asked Questions