Skip to content

Receba frases da série animada Rick e Morty por uma API. 🗺️

License

Notifications You must be signed in to change notification settings

flavio-ever/FORK-RICK-AND-MORTY-API-QUOTES

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frases Rick e Morty / Rick and Morty's Quotes

Receba frases da série animada Rick e Morty por uma API. / Get Rick and Morty's quotes from API.

Getting Started

Para acessar uma frase, use a url / Access the API using the url:

https://rick-and-morty-api-phrases.herokuapp.com/

Rest API Success Responses

  • GET /phrases/{language}: Obter todas as frases / Get all phrases;
[
  {
    "id": 1,
    "phrase": "xpto",
    "author": "xpto",
    "img": "http://"
  },
]
  • GET /phrases/{language}/{id}: Obter frases por id / Get phrases by id;
[
  {
    "id": 1,
    "phrase": "xpto",
    "author": "xpto",
    "img": "http://"
  },
]
  • GET /phrases/{language}/random: Obter frases aleatórias / Get random phrases;
[
  {
    "id": 1,
    "phrase": "xpto",
    "author": "xpto",
    "img": "http://"
  },
]

Rest API Error Responses

  • GET /phrases/{param}/{param}: 404
  {
    "message": "The language does not exist"
  },

Dependences

Rest

  • Insominia Rest Na pasta rest é possível encontrar o arquivo de configuração do Insominia Rest, mas sinta-se a vontade para utilizar o que quiser.
    In the folder rest you can find the Insominia Rest configuration file, but feel free to use whatever you want.

Para rodar localmente / To run locally:

npm install
npm start

Sinta-se convidado para participar do desenvolvimento.
Feel free to contribute.

Authors

License

This project is licensed under the GNU GPL V3 - see the LICENSE.md file for details

About

Receba frases da série animada Rick e Morty por uma API. 🗺️

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%