API V1 – Match

Détail

Informations général sur un match

Attribut:

  • cl=number ;
  • competitionId=number ;
  • matchId=number;

Exemple de requête :

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

  • -d cl= « 7″
  • -d competitionId= « 150″
  • -d matchId= »3121″

Exemple de reponse :

{« message »: »informations match « ,
« data »:
[
{"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",
"faute1":"0",
"faute2":"0",
"sigle2":"LesVentreches",
"equipe2":"Les Ventreches",
"video":""}
],
« statut »: »200″}

Détail

Afficher l’ ensemble des événements survenus lors d’un match

Attribut:

  • cl=number ;
  • matchId=number ;

Exemple de requête :

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

  • -d cl= « 7″
  • -d matchId= « 3121″

Exemple de reponse :

{« message »: »détails du match »,
« data »:[
{"id":"34679","type":"END","nom":null,"prenom":null,"match_id":"3121","equipe":null,"date_create":"2015-02-16 21:09:24","heure":"21:09:24","video":""},

{"id":"34678","type":"BUT","nom":"Gallien","prenom":"Alexis","match_id":"3121","equipe":"GDG","date_create":"2015-02-16 21:06:25","heure":"21:06:25","video":""},

{"id":"34677","type":"BUT","nom":"Nouaux","prenom":"marc","match_id":"3121","equipe":"GDG","date_create":"2015-02-16 21:05:59","heure":"21:05:59","video":""},

{"id":"34676","type":"BUT","nom":"Ducos","prenom":"Romain","match_id":"3121","equipe":"GDG","date_create":"2015-02-16 20:57:58","heure":"20:57:58","video":""},

{"id":"34675","type":"BUT","nom":"","prenom":"Vivi","match_id":"3121","equipe":"Les Ventreches","date_create":"2015-02-16 20:57:35","heure":"20:57:35","video":""},

{"id":"34674","type":"BUT","nom":"","prenom":"Vivi","match_id":"3121","equipe":"Les Ventreches","date_create":"2015-02-16 20:54:44","heure":"20:54:44","video":""},

{"id":"34673","type":"BUT","nom":"","prenom":"Kikou","match_id":"3121","equipe":"Les Ventreches","date_create":"2015-02-16 20:54:12","heure":"20:54:12","video":""},

{"id":"34672","type":"BUT","nom":"Gallien","prenom":"Alexis","match_id":"3121","equipe":"GDG","date_create":"2015-02-16 20:47:28","heure":"20:47:28","video":""},

{"id":"34671","type":"BUT","nom":"Ducos","prenom":"Romain","match_id":"3121","equipe":"GDG","date_create":"2015-02-16 20:44:23","heure":"20:44:23","video":""},

{"id":"34670","type":"BUT","nom":"","prenom":"Geoff","match_id":"3121","equipe":"Les Ventreches","date_create":"2015-02-16 20:39:04","heure":"20:39:04","video":""},

{"id":"34669","type":"BUT","nom":"batto","prenom":"batto","match_id":"3121","equipe":"Les Ventreches","date_create":"2015-02-16 20:36:36","heure":"20:36:36","video":""},

{"id":"34668","type":"BUT","nom":"","prenom":"Jerome","match_id":"3121","equipe":"Les Ventreches","date_create":"2015-02-16 20:32:27","heure":"20:32:27","video":""},

{"id":"34667","type":"BUT","nom":"","prenom":"Jerome","match_id":"3121","equipe":"Les Ventreches","date_create":"2015-02-16 20:31:21","heure":"20:31:21","video":""},

{"id":"34666","type":"BUT","nom":"","prenom":"Vivi","match_id":"3121","equipe":"Les Ventreches","date_create":"2015-02-16 20:27:49","heure":"20:27:49","video":""},

{"id":"34665","type":"BUT","nom":"","prenom":"Kikou","match_id":"3121","equipe":"Les Ventreches","date_create":"2015-02-16 20:25:27","heure":"20:25:27","video":""},

{"id":"34664","type":"BUT","nom":"","prenom":"Jerome","match_id":"3121","equipe":"Les Ventreches","date_create":"2015-02-16 20:24:47","heure":"20:24:47","video":""},

{"id":"34663","type":"BUT","nom":"","prenom":"Vivi","match_id":"3121","equipe":"Les Ventreches","date_create":"2015-02-16 20:24:17","heure":"20:24:17","video":""},

{"id":"34662","type":"BUT","nom":"","prenom":"Jerome","match_id":"3121","equipe":"Les Ventreches","date_create":"2015-02-16 20:23:24","heure":"20:23:24","video":""},

{"id":"34661","type":"BUT","nom":"mathieu","prenom":"florent","match_id":"3121","equipe":"GDG","date_create":"2015-02-16 20:18:57","heure":"20:18:57","video":""},

{"id":"34660","type":"START","nom":null,"prenom":null,"match_id":"3121","equipe":null,"date_create":"2015-02-16 20:10:57","heure":"20:10:57","video":""}
],
« statut »: »200″}