Skip to content

Project of a Rest API in node.js, to answer information about World Cup 22, in relation to groups, teams and games

Notifications You must be signed in to change notification settings

jp2435/api-world-cup-22

Repository files navigation

API World Cup 22

Description

Project of a Rest API in node.js, to answer information about World Cup 22, in relation to groups, teams and games

🛠 Technologies

The tools used in the project are:


Documentation

Group Routes

Returns a group

  GET /get/group/${idGroup}
  Authorization: ${Token}
Parâmetro Tipo Descrição
idGroup string Required. ID of group you want
Token string Required. Your account Token

  GET /get/group/?name=${nameGroup}
  Authorization: ${Token}
Parameter Type Description
nameGroup string For search in database using group name instead of ID
Token string Required. Your account Token

Returns all groups

  GET /get/groups/
  Authorization: ${Token}
Parameter Type Description
Token string Required. Your account Token

Team Routes

Returns a team

  GET /get/team/${idTeam}
  Authorization: ${Token}
Parameter Type Description
idTeam string Required. ID of team you want
Token string Required. Your account Token

  GET /get/team/?name=${nameTeam}
  Authorization: ${Token}
Parameter Type Description
nameTeam string For search in database using group name instead of ID
Token string Required. Your account Token

Returns all teams

  GET /get/teams
  Authorization: ${Token}
Parameter Type Description
Token string Required. Your account Token

Returns all teams in a group

  GET /get/teams/?group={groupName}
  Authorization: ${Token}
Parameter Type Description
groupName string Name of the group from which you want the teams
Token string Required. Your account Token

Game Routes

Returns a game

  GET get/game/:${idGame}
  Authorization: ${Token}
Parameter Type Description
idGame string Required. ID of game you want
Token string Required. Your account Token

Returns all game

  GET /get/games/
  Authorization: ${Token}
Parameter Type Description
Token string Required. Your account Token

Author



Jorge CP
🚀

Made with ❤️ by JP2435 👋🏼 Contact!

Twitter Badge Gmail Badge

About

Project of a Rest API in node.js, to answer information about World Cup 22, in relation to groups, teams and games

Topics

Resources

Stars

Watchers

Forks