Receba frases da série animada Rick e Morty por uma API. / Get Rick and Morty's quotes from API.
Para acessar uma frase, use a url / Access the API using the url:
https://rick-and-morty-api-phrases.herokuapp.com/
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://"
},
]
GET /phrases/{param}/{param}
: 404
{
"message": "The language does not exist"
},
- 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.
- Gustavo Henrique - Gustavoohrq
This project is licensed under the GNU GPL V3 - see the LICENSE.md file for details