Git Product home page Git Product logo

api-world-cup-22's Introduction

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

api-world-cup-22's People

Contributors

dependabot[bot] avatar jp2435 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.