API V1 – Calendrier

Afficher la listes des match programmés et le score si joués

Attribut :

  • cl=number;
  • competitionId=number ;

Exemple de requête :

curl : » « http://inoleague.e-novon.com/api/v1/lecture/table/calendrierLeague.php »

  • -d cl= « 7″
  • -d idCompetition= « 150″

Exemple de reponse :

{« message »: »Voici le calendrier »,
« data »:
{
« calendrier »:
[
{"matchId":"3121","journee":"1","date":"2015-02-16","heure":"21:00:00","equipe1":"GDG","sigle1":"GDG","equipe2Id":"33","equipe1Id":"29","competitionId":"150","score1":"6","score2":"12","sigle2":"LesVentreches","equipe2":"Les Ventreches","video":""},

{"matchId":"3119","journee":"1","date":"2015-02-16","heure":"20:00:00","equipe1":"Nylcoxx","sigle1":"Nylcoxx","equipe2Id":"41","equipe1Id":"30","competitionId":"150","score1":"16","score2":"17","sigle2":"Laforet","equipe2":"Laforet","video":""},

{"matchId":"3123","journee":"1","date":"2015-02-16","heure":"19:00:00","equipe1":"La Masia","sigle1":"LaMasia","equipe2Id":"53","equipe1Id":"27","competitionId":"150","score1":"12","score2":"12","sigle2":"RT","equipe2":"R Team","video":""},

{"matchId":"3129","journee":"2","date":"2015-02-23","heure":"21:00:00","equipe1":"La Masia","sigle1":"LaMasia","equipe2Id":"41","equipe1Id":"27","competitionId":"150","score1":"13","score2":"17","sigle2":"Laforet","equipe2":"Laforet","video":""},

{"matchId":"3133","journee":"2","date":"2015-02-23","heure":"20:00:00","equipe1":"GDG","sigle1":"GDG","equipe2Id":"79","equipe1Id":"29","competitionId":"150","score1":"17","score2":"11","sigle2":"FFF","equipe2":"France","video":""},

{"matchId":"3127","journee":"2","date":"2015-02-23","heure":"22:00:00","equipe1":"Nylcoxx","sigle1":"Nylcoxx","equipe2Id":"53","equipe1Id":"30","competitionId":"150","score1":"9","score2":"10","sigle2":"RT","equipe2":"R Team","video":""}
]
},
« statut » : « 200″
}

Détail

Afficher la listes des match programmés du même mois et le score si joués

Attribut:

  • cl=number ;
  • competitionId=number ;
  • mois=number ;

Exemple de requête :

curl : « http://inoleague.e-novon.com/api/v1/lecture/table/calendrierLeagueMois.php »

  • -d cl= « 7″
  • -d competitionId= « 150″
  • -d mois= « 2″

Exemple de reponse :

{
« message »: »Voici le calendrier »,
« data »:
{
« calendrier »:
[
{"id":"3119","journee":"1","date":"2015-02-16","heure":"20:00:00","equipe1":"Nylcoxx","equipe1Id":"30","sigle1":"Nylcoxx","competitionId":"150","score1":"16","score2":"17","equipe2":"Laforet","equipe2Id":"41","sigle2":"Laforet","video":""},

{"id":"3121","journee":"1","date":"2015-02-16","heure":"21:00:00","equipe1":"GDG","equipe1Id":"29","sigle1":"GDG","competitionId":"150","score1":"6","score2":"12","equipe2":"Les Ventreches","equipe2Id":"33","sigle2":"LesVentreches","video":""},

{"id":"3123","journee":"1","date":"2015-02-16","heure":"19:00:00","equipe1":"La Masia","equipe1Id":"27","sigle1":"LaMasia","competitionId":"150","score1":"12","score2":"12","equipe2":"R Team","equipe2Id":"53","sigle2":"RT","video":""},

{"id":"3127","journee":"2","date":"2015-02-23","heure":"22:00:00","equipe1":"Nylcoxx","equipe1Id":"30","sigle1":"Nylcoxx","competitionId":"150","score1":"9","score2":"10","equipe2":"R Team","equipe2Id":"53","sigle2":"RT","video":""},

{"id":"3129","journee":"2","date":"2015-02-23","heure":"21:00:00","equipe1":"La Masia","equipe1Id":"27","sigle1":"LaMasia","competitionId":"150","score1":"13","score2":"17","equipe2":"Laforet","equipe2Id":"41","sigle2":"Laforet","video":""},

{"id":"3131","journee":"2","date":"2015-02-23","heure":"19:00:00","equipe1":"Rastachattes","equipe1Id":"28","sigle1":"Rastachattes","competitionId":"150","score1":"7","score2":"25","equipe2":"Les Ventreches","equipe2Id":"33","sigle2":"LesVentreches","video":""},

{"id":"3133","journee":"2","date":"2015-02-23","heure":"20:00:00","equipe1":"GDG","equipe1Id":"29","sigle1":"GDG","competitionId":"150","score1":"17","score2":"11","equipe2":"France","equipe2Id":"79","sigle2":"FFF","video":""}
]
},
« statut »: »200″
}