API V1 – Equipe

Détail

Afficher les informations d’une équipe

Attribut:

  • cl=number ;
  • equipeId=number ;

Exemple de requête :

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

  • -d cl= « 7″
  • -d equipeId= « 36″

Exemple de reponse :

{
« message »: »donnees Equipe »,
« data »:
{« Equipe »:
[
{"id":"36",
"sigle":"NY-Cosmos",
"nom":"NY Cosmos",
"statut":"ACTIVE",
"logo":"http://inoleague.e-novon.com/wp-content/plugins/futsal-club/futsal-img/futsal-exempt.png"}
]
},
« statut »: »200″}

Détail

Afficher les matchs joués par une équipe lors d’une compétition :

Attribut:

  • cl=number ;
  • equipeId=number ;
  • competitionId=number ;

Exemple de requête :

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

  • -d cl= « 7 »
  • -d equipeId= «36 »
  • -d competitionId= « 39 »

Exemple de reponse :

{« message »: »Voici le calendrier des match de l’equipe »,
« data »:
{« match »:[{"matchId":"1430","journee":"2","date":"2014-02-03","heure":"21:00:00","equipe1":"Les Ventreches","sigle1":"LesVentreches","equipe2Id":"36","equipe1Id":"33","competitionId":"39","score1":"21","score2":"11","sigle2":"NY-Cosmos","equipe2":"NY Cosmos","video":""},

{"matchId":"1470","journee":"7","date":"2014-02-10","heure":"19:00:00","equipe1":"Les Rigolos","sigle1":"LesRigolos","equipe2Id":"36","equipe1Id":"35","competitionId":"39","score1":"13","score2":"16","sigle2":"NY-Cosmos","equipe2":"NY Cosmos","video":""},

{"matchId":"1426","journee":"1","date":"2014-02-17","heure":"19:00:00","equipe1":"FC Tornado","sigle1":"FC-Tornado","equipe2Id":"36","equipe1Id":"26","competitionId":"39","score1":"15","score2":"12","sigle2":"NY-Cosmos","equipe2":"NY Cosmos","video":""},

{"matchId":"1446","journee":"4","date":"2014-03-03","heure":"19:00:00","equipe1":"GDG","sigle1":"GDG","equipe2Id":"36","equipe1Id":"29","competitionId":"39","score1":"20","score2":"9","sigle2":"NY-Cosmos","equipe2":"NY Cosmos","video":""},

{"matchId":"1440","journee":"3","date":"2014-03-10","heure":"21:00:00","equipe1":"Rastachattes","sigle1":"Rastachattes","equipe2Id":"36","equipe1Id":"28","competitionId":"39","score1":"14","score2":"11","sigle2":"NY-Cosmos","equipe2":"NY Cosmos","video":""},

{"matchId":"1462","journee":"6","date":"2014-03-17","heure":"21:00:00","equipe1":"La Masia","sigle1":"LaMasia","equipe2Id":"36","equipe1Id":"27","competitionId":"39","score1":"20","score2":"11","sigle2":"NY-Cosmos","equipe2":"NY Cosmos","video":""},

{"matchId":"1463","journee":"12","date":"2014-03-24","heure":"20:00:00","equipe1":"NY Cosmos","sigle1":"NY-Cosmos","equipe2Id":"27","equipe1Id":"36","competitionId":"39","score1":"7","score2":"16","sigle2":"LaMasia","equipe2":"La Masia","video":""},

{"matchId":"1471","journee":"13","date":"2014-04-07","heure":"20:00:00","equipe1":"NY Cosmos","sigle1":"NY-Cosmos","equipe2Id":"35","equipe1Id":"36","competitionId":"39","score1":"9","score2":"15","sigle2":"LesRigolos","equipe2":"Les Rigolos","video":""},

{"matchId":"1427","journee":"14","date":"2014-04-14","heure":"21:00:00","equipe1":"NY Cosmos","sigle1":"NY-Cosmos","equipe2Id":"26","equipe1Id":"36","competitionId":"39","score1":"11","score2":"17","sigle2":"FC-Tornado","equipe2":"FC Tornado","video":""},

{"matchId":"1447","journee":"10","date":"2014-04-28","heure":"21:00:00","equipe1":"NY Cosmos","sigle1":"NY-Cosmos","equipe2Id":"29","equipe1Id":"36","competitionId":"39","score1":"5","score2":"21","sigle2":"GDG","equipe2":"GDG","video":""},

{"matchId":"1441","journee":"9","date":"2014-05-05","heure":"22:00:00","equipe1":"NY Cosmos","sigle1":"NY-Cosmos","equipe2Id":"28","equipe1Id":"36","competitionId":"39","score1":"11","score2":"17","sigle2":"Rastachattes","equipe2":"Rastachattes","video":""},

{"matchId":"1454","journee":"5","date":"2014-05-12","heure":"22:00:00","equipe1":"Nylcoxx","sigle1":"Nylcoxx","equipe2Id":"36","equipe1Id":"30","competitionId":"39","score1":"21","score2":"11","sigle2":"NY-Cosmos","equipe2":"NY Cosmos","video":""},

{"matchId":"1431","journee":"8","date":"2014-05-19","heure":"20:00:00","equipe1":"NY Cosmos","sigle1":"NY-Cosmos","equipe2Id":"33","equipe1Id":"36","competitionId":"39","score1":"12","score2":"13","sigle2":"LesVentreches","equipe2":"Les Ventreches","video":""},

{"matchId":"1455","journee":"11","date":"2014-05-21","heure":"19:00:00","equipe1":"NY Cosmos","sigle1":"NY-Cosmos","equipe2Id":"30","equipe1Id":"36","competitionId":"39","score1":"8","score2":"29","sigle2":"Nylcoxx","equipe2":"Nylcoxx","video":""}
]
},
« statut »: »200″}

Afficher les compétitions auxquelles a participé une equipe :

Attribut:

  • cl=number ;
  • equipeId=number ;

Exemple de requête :

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

  • -d cl= « 7 »
  • -d equipeId= « 36»

Exemple de reponse :

{« message »: »Voici la liste des competitions jouees par l’Equipe »,
« data »:{
« competition »:
[
{"equipe":"NY Cosmos","equipeId":"36","competitionId":"39","competition":"Ligue 1 Jan 2014","date_debut":"2014-01-27","etat":"2","nbr_match":"14","faute":"61","but":"144"},

{"equipe":"NY Cosmos","equipeId":"36","competitionId":"136","competition":"ligue 2 Sept 2014","date_debut":"2014-09-16","etat":"2","nbr_match":"14","faute":"40","but":"241"},

{"equipe":"NY Cosmos","equipeId":"36","competitionId":"151","competition":"Ligue 2 Fu00e9vrier 2015","date_debut":"2015-02-17","etat":"1","nbr_match":"14","faute":"0","but":"221"}
]
},
« statut »: »200″}

Afficher les statistiques des joueurs d’une équipe en fonction de la compétition jouée :

Attribut:

  • cl=number ;
  • competitionId=number ;
  • equipeId=number ;

Exemple de requête :

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

  • -d cl= « 7 »
  • -d equipeId= « 36 »
  • -d competitionId= « 39 »

Exemple de reponse :

{« message »: »Voici la liste des joueurs de l’Equipe »,
« data »:{
« joueurs »:
[
{"id":"114","equipeId":"36","nom":"leblanc","prenom":"ben","date_Naissance":"1970-01-01","numero":"13","equipe":"NY Cosmos","but":"56","faute":"13","competition_id":"39","nbr_match":"14"},

{"id":"120","equipeId":"36","nom":"lahitte","prenom":"chou","date_Naissance":"1970-01-01","numero":"4","equipe":"NY Cosmos","but":"17","faute":"18","competition_id":"39","nbr_match":"9"},

{"id":"126","equipeId":"36","nom":"","prenom":"gaetan","date_Naissance":"1970-01-01","numero":"0","equipe":"NY Cosmos","but":"10","faute":"7","competition_id":"39","nbr_match":"8"},

{"id":"134","equipeId":"36","nom":"fontaine","prenom":"fred","date_Naissance":"1970-01-01","numero":"8","equipe":"NY Cosmos","but":"23","faute":"4","competition_id":"39","nbr_match":"13"},

{"id":"159","equipeId":"36","nom":"ouin","prenom":"gilles","date_Naissance":"1970-01-01","numero":"7","equipe":"NY Cosmos","but":"11","faute":"4","competition_id":"39","nbr_match":"9"},

{"id":"169","equipeId":"36","nom":"descotte","prenom":"gui ","date_Naissance":"1970-01-01","numero":"1","equipe":"NY Cosmos","but":"4","faute":"3","competition_id":"39","nbr_match":"6"},

{"id":"171","equipeId":"36","nom":"cheype","prenom":"tom","date_Naissance":"1970-01-01","numero":"2","equipe":"NY Cosmos","but":"3","faute":"0","competition_id":"39","nbr_match":"9"},

{"id":"318","equipeId":"36","nom":"aurel","prenom":"aurel","date_Naissance":"0000-00-00","numero":"0","equipe":"NY Cosmos","but":"8","faute":"3","competition_id":"39","nbr_match":"2"},

{"id":"366","equipeId":"36","nom":"Roux","prenom":"serguey","date_Naissance":"1980-03-19","numero":"0","equipe":"NY Cosmos","but":"2","faute":"1","competition_id":"39","nbr_match":"1"},

{"id":"383","equipeId":"36","nom":"Mathias","prenom":"Tony","date_Naissance":"1980-01-01","numero":"1","equipe":"NY Cosmos","but":"1","faute":"0","competition_id":"39","nbr_match":"3"},

{"id":"384","equipeId":"36","nom":"no","prenom":"Jean","date_Naissance":"1980-01-01","numero":"1","equipe":"NY Cosmos","but":"0","faute":"0","competition_id":"39","nbr_match":"1"},

{"id":"394","equipeId":"36","nom":"brassie","prenom":"bouly","date_Naissance":"0000-00-00","numero":"0","equipe":"NY Cosmos","but":"0","faute":"1","competition_id":"39","nbr_match":"1"},

{"id":"395","equipeId":"36","nom":"garcia","prenom":"marc","date_Naissance":"0000-00-00","numero":"0","equipe":"NY Cosmos","but":"0","faute":"1","competition_id":"39","nbr_match":"1"},

{"id":"418","equipeId":"36","nom":"nico","prenom":"nio","date_Naissance":"0000-00-00","numero":"0","equipe":"NY Cosmos","but":"0","faute":"0","competition_id":"39","nbr_match":"2"},

{"id":"419","equipeId":"36","nom":"ali","prenom":"ali","date_Naissance":"0000-00-00","numero":"0","equipe":"NY Cosmos","but":"5","faute":"5","competition_id":"39","nbr_match":"4"},

{"id":"453","equipeId":"36","nom":"kevin","prenom":"kevin","date_Naissance":"0000-00-00","numero":"0","equipe":"NY Cosmos","but":"3","faute":"1","competition_id":"39","nbr_match":"1"},

{"id":"767","equipeId":"36","nom":"jeremy","prenom":"jeremy","date_Naissance":"0000-00-00","numero":"0","equipe":"NY Cosmos","but":"0","faute":"0","competition_id":"39","nbr_match":"0"},

{"id":"866","equipeId":"36","nom":"yanis","prenom":"yanis","date_Naissance":"0000-00-00","numero":"0","equipe":"NY Cosmos","but":"0","faute":"0","competition_id":"39","nbr_match":"0"},

{"id":"882","equipeId":"36","nom":"antoine","prenom":"antoine","date_Naissance":"0000-00-00","numero":"0","equipe":"NY Cosmos","but":"0","faute":"0","competition_id":"39","nbr_match":"0"},

{"id":"905","equipeId":"36","nom":"karim","prenom":" ","date_Naissance":"0000-00-00","numero":"0","equipe":"NY Cosmos","but":"0","faute":"0","competition_id":"39","nbr_match":"0"},

{"id":"984","equipeId":"36","nom":"brassier","prenom":"fabien","date_Naissance":"0000-00-00","numero":"0","equipe":"NY Cosmos","but":"0","faute":"0","competition_id":"39","nbr_match":"0"},

{"id":"1041","equipeId":"36","nom":"julien","prenom":" ","date_Naissance":"0000-00-00","numero":"0","equipe":"NY Cosmos","but":"0","faute":"0","competition_id":"39","nbr_match":"0"}
]
},
« statut »: »200″}

Afficher la liste des joueurs d’une équipe (équipe par défaut) , les buts marqués et les fautes faites par chacun.

Attribut:

  • cl=number ;
  • competitionId=number ;
  • equipeId=number ;

Exemple de requête :

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

  • -d cl= « 7″
  • -d equipeId= « 36″

Exemple de reponse :

{« message »: »Voici la liste des joueurs de l’Equipe »,
« data »:{
« joueurs »:
[
{"id":"114","equipeId":"36","nom":"leblanc","prenom":"ben","date_Naissance":"1970-01-01","numero":"13","Equipe":"NY Cosmos","but":"248","faute":"30","nbr_match":"40"},

{"id":"120","equipeId":"36","nom":"lahitte","prenom":"chou","date_Naissance":"1970-01-01","numero":"4","Equipe":"NY Cosmos","but":"64","faute":"26","nbr_match":"25"},

{"id":"126","equipeId":"36","nom":"","prenom":"gaetan","date_Naissance":"1970-01-01","numero":"0","Equipe":"NY Cosmos","but":"34","faute":"10","nbr_match":"17"},

{"id":"134","equipeId":"36","nom":"fontaine","prenom":"fred","date_Naissance":"1970-01-01","numero":"8","Equipe":"NY Cosmos","but":"119","faute":"8","nbr_match":"36"},

{"id":"159","equipeId":"36","nom":"ouin","prenom":"gilles","date_Naissance":"1970-01-01","numero":"7","Equipe":"NY Cosmos","but":"35","faute":"5","nbr_match":"29"},

{"id":"169","equipeId":"36","nom":"descotte","prenom":"gui ","date_Naissance":"1970-01-01","numero":"1","Equipe":"NY Cosmos","but":"4","faute":"3","nbr_match":"6"},

{"id":"171","equipeId":"36","nom":"cheype","prenom":"tom","date_Naissance":"1970-01-01","numero":"2","Equipe":"NY Cosmos","but":"6","faute":"2","nbr_match":"16"},

{"id":"318","equipeId":"36","nom":"aurel","prenom":"aurel","date_Naissance":"0000-00-00","numero":"0","Equipe":"NY Cosmos","but":"13","faute":"3","nbr_match":"3"},

{"id":"366","equipeId":"36","nom":"Roux","prenom":"serguey","date_Naissance":"1980-03-19","numero":"0","Equipe":"NY Cosmos","but":"2","faute":"1","nbr_match":"1"}
]
},
« statut »: »200″}