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!
![Gmail Badge](https://camo.githubusercontent.com/8f21049e4d4031a12caf664b4d05348075cf61a1bb73770cd99147eedef5a9ee/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d667573657461303040676d61696c2e636f6d2d6331343433383f7374796c653d666c61742d737175617265266c6f676f3d476d61696c266c6f676f436f6c6f723d7768697465266c696e6b3d6d61696c746f3a667573657461303040676d61696c2e636f6d)