Skip to content

Latest commit

 

History

History
33 lines (29 loc) · 526 Bytes

README.md

File metadata and controls

33 lines (29 loc) · 526 Bytes

matches-api

Manage you wins/losses against your buddies on soccer games

API definition

GET /teams

[{
  "name": "Arsenal",
  "league": "Premiere league",
  "image": "<base64image>" 
}]

GET /players

[{
  "name": "Robson"
}]

GET /match-results

[{
  "home_team": "<team_name>",
  "home_team_goals": 1,
  "home_team_player": "<player_uid>",
  "away_team": "<team_name>",
  "away_team_goals": 2,
  "home_team_player": "<player_uid>",
  "date_time": "2016-10-01 00:00:00"
}]