Write a Script in Python to pull some data from Sorare using their GraphQL API and output it to a CSV file
Budget: $10 – $30 USD
Job Description:
Part I:
I'm looking for an experienced developer to create a script that can extract full data about my cards on Sorare using the GraphQL API provided by the platform.
You can find the API details at https://github.com/sorare/api, and test it in the playground. To test the script, you will need to sign up for a Sorare account, which is free and comes with some common cards that should show up via the API
At minimum, the script should return the following records for each card:
Card ID
First Name
Last Name
Scarcity
Position
Age
U23 Eligibility
Purchase price
Stub
Last 5 games played %
Last 5 Games Average Score
Last 15 games played %
Last 15 Games Average score
Current Team
Division of Current team
Current level
Current Bonus
Current XP
Current Floor Price of the players (only for the same scarcity as the held card)
The script should save this data to a CSV file, which should refresh every time the script is run. The script only needs to run via command line and does not require a user interface.
Part II:
In addition to the above, I need a second script that can gather information on past SO5 competitions. Specifically, for each game week, the script should retrieve the following data for every competition:
The number of licensed teams that participated in the competition (e.g. only teams from the Premier League in England, the Bundesliga in Germany, La Liga in Spain, Serie A in Italy, and Ligue 1 in France compete for Champion Europe)
The cutoff points for each type of reward (such as the lowest points needed for a tier 0 card, the lowest points needed for a tier 1 card, etc.)
The number of registered lineups by game players.
The input for this script will be the game week number and the competition name (e.g. Game Week 257; Champion Europe - Rare). The output will be a CSV file containing the above information.
I'm looking for someone with extensive experience in scripting and a strong understanding of GraphQL API.
Part I:
I'm looking for an experienced developer to create a script that can extract full data about my cards on Sorare using the GraphQL API provided by the platform.
You can find the API details at https://github.com/sorare/api, and test it in the playground. To test the script, you will need to sign up for a Sorare account, which is free and comes with some common cards that should show up via the API
At minimum, the script should return the following records for each card:
Card ID
First Name
Last Name
Scarcity
Position
Age
U23 Eligibility
Purchase price
Stub
Last 5 games played %
Last 5 Games Average Score
Last 15 games played %
Last 15 Games Average score
Current Team
Division of Current team
Current level
Current Bonus
Current XP
Current Floor Price of the players (only for the same scarcity as the held card)
The script should save this data to a CSV file, which should refresh every time the script is run. The script only needs to run via command line and does not require a user interface.
Part II:
In addition to the above, I need a second script that can gather information on past SO5 competitions. Specifically, for each game week, the script should retrieve the following data for every competition:
The number of licensed teams that participated in the competition (e.g. only teams from the Premier League in England, the Bundesliga in Germany, La Liga in Spain, Serie A in Italy, and Ligue 1 in France compete for Champion Europe)
The cutoff points for each type of reward (such as the lowest points needed for a tier 0 card, the lowest points needed for a tier 1 card, etc.)
The number of registered lineups by game players.
The input for this script will be the game week number and the competition name (e.g. Game Week 257; Champion Europe - Rare). The output will be a CSV file containing the above information.
I'm looking for someone with extensive experience in scripting and a strong understanding of GraphQL API.