Teams API Follow
GET https://www.play-cricket.com/api/v2/teams.json?&api_token=xxxxxx
to return all teams or
https://www.play-cricket.com/api/v2/sites/nnnn/teams.json?&api_token=xxxxxx
where nnnn is a site_id which then returns teams just for that site
Parameters
api_token: string required
site_type: string (club, CCB)
from_entry_date : string (dd/mm/yyyy)
end_entry_date : string (dd/mm/yyyy)
API Returns
{
"teams": [
{"id": "", "status": "", "last_updated":"", site_id: "", team_name: "", other_team_name: "", nickname: "", team_captain: "" },
{"id": "", "status": "", "last_updated":"", site_id: "", team_name: "", other_team_name: "", nickname: "", team_captain: "" },
.
.
.
{"id": "", "status": "", "last_updated":"", site_id: "", team_name: "", other_team_name: "", nickname: "", team_captain: "" }
]
}