Project of a Rest API in node.js , to answer information about World Cup 22, in relation to groups, teams and games
The tools used in the project are:
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
GET /get/groups/
Authorization: ${Token}
Parameter
Type
Description
Token
string
Required . Your account Token
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
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
GET get/game/:${idGame}
Authorization: ${Token}
Parameter
Type
Description
idGame
string
Required . ID of game you want
Token
string
Required . Your account Token
GET /get/games/
Authorization: ${Token}
Parameter
Type
Description
Token
string
Required . Your account Token
Jorge CP 🚀
Made with ❤️ by JP2435 👋🏼 Contact!