- every match ever: https://sportapi.mlssoccer.com/api/matches?competition=98&excludeSecondaryTeams=true&excludeVenue=false
- Player match log: https://stats-api.mlssoccer.com/v1/players/matches?&player_opta_id=231969&page=0&page_size=30&include=*&order_by=-match_date
- active club list https://stats-api.mlssoccer.com/v1/clubs?&competition_opta_id=98&season_opta_id=2022&order_by=club_name
- rosters https://sportapi.mlssoccer.com/api/players/byClub/11091?culture=en-us
- player career stats: https://stats-api.mlssoccer.com/v1/players/seasons?&player_opta_id=231969&include=*&competition_opta_id=98&order_by=-season_opta_id
- form: https://sportapi.mlssoccer.com/api/previousMatches/1581?culture=en-us&secondClub=9668&matchDate=2021-12-11T20:00:00Z&maxItems=3&formGuideMatchesCount=5
- match overview: https://sportapi.mlssoccer.com/api/matches/2245774
- daily schedule: https://sportapi.mlssoccer.com/api/matches?culture=en-us&dateFrom=2021-12-10&dateTo=2021-12-12&competition=98&excludeSecondaryTeams=true&excludeVen
View mls-json-api.md
View cfb-epa-sample.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# coding: utf-8 | |
# module imports | |
from patsy import dmatrices | |
import pandas as pd | |
from sklearn.linear_model import LogisticRegression | |
import statsmodels.discrete.discrete_model as sm |
View test-hs-sample-metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"bowlGames": | |
[ | |
"Rose Bowl", | |
"Orange Bowl", | |
"Sugar Bowl", | |
"Cotton Bowl", | |
"Peach Bowl", | |
"Fiesta Bowl", | |
"Citrus Bowl", |
View test-expanded-team-metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"bowlGames":[ | |
"Rose Bowl", | |
"Fiesta Bowl", | |
"Peach Bowl", | |
"Cotton Bowl", | |
"Orange Bowl", | |
"Gator Bowl", | |
"Cheez-It Bowl", | |
"Camping World Bowl", |
View mls-api-docs.md
Interacting with MLS GraphQL API
For GraphQL response, send POST request to https://golazo-ql.mlsdigital.net/graphql using PostMan with following headers:
Content-Type:application/json
Accept:application/json
and following request body:
View test-metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"bowlGames": ["Rose Bowl", "Peach Bowl", "Sugar Bowl", "Cotton Bowl", "Orange Bowl", "Fiesta Bowl", "Gator Bowl", "Citrus Bowl", "Belk Bowl", "Alamo Bowl"], | |
"conferences": [{ | |
"confName": "SEC", | |
"confFullName": "Southeastern", | |
"confTeams": [{ | |
"name": "Alabama", | |
"abbreviation": "ALA", | |
"prestige": "95", | |
"state": "Alabama", |
View pollscore.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-(void)updateStrengthOfWins { | |
int strWins = 0; | |
for ( int i = 0; i < gameSchedule.count; ++i ) { | |
Game *g = gameSchedule[i]; | |
if (g.homeTeam == self) { | |
strWins += pow(60 - g.awayTeam.rankTeamPollScore,2); | |
} else { | |
strWins += pow(60 - g.homeTeam.rankTeamPollScore,2); | |
} | |
} |
View roster.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Virginia Vultures,VV | |
QB,Taylor Heinicke, 23, 2015, 86, 85, 95, 85, 87, 55, 1, 5 | |
QB,Derek Devine, 32, 2007, 75, 65, 85, 7797, 20, 0.5, 5 | |
RB,Bruce Perry, 29, 2008, 82, 75, 95, 85, 87, 62, 1, 5 | |
RB,Keenan Reynolds, 23, 2016, 74, 75, 88, 81, 77, 61, 1, 5 | |
WR,David Clowney,31,2007,75,93,71,65,83,71,1,5 | |
WR,James Roe,42,2000,81,88,70,54,78,86,70,1,5 | |
WR,Edgar Poe,24,2016,88,53,89,77,97,83,1,5 | |
WR,Joey Haynos,27,2010,77,82,85,72,79,65,1,5 | |
OL,Tony Davis,28,2011,72,52,92,90,83,76,1,5 |
View maddenroster.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cincinnati Bengals,CIN | |
QB,Andy Dalton,27,2012,50,81,93,86,78,71,9.5,2 | |
QB,Josh Johnson,29,2008,85,65,83,87,68,86,6.5,4 | |
QB,A.J. McCarron,24,2013,101,65,91,84,72,64,6.1,5 | |
RB,Jeremy Hill,22,2016,90,78,86,115,88,85,4.5,5 | |
RB,Cedric Peerman,28,2011,94,70,85,84,90,89,2.9,2 | |
RB,Giovani Bernard,23,2015,80,77,81,76,87,95,2.7,3 | |
RB,Rex Burkhead,25,2013,58,68,90,84,80,88,2.5,2 | |
WR,A.J. Green,27,2010,92,87,95,93,87,94,5.4,1 | |
WR,Marvin Jones,25,2012,89,74,84,84,88,89,3.9,3 |
NewerOlder