A simple API project to retrieve videogame quotes
import requests
request = requests.get("http://localhost:8000/quotes")
content = request.json()
print(content["quote"]) # 'FINISH HIM!'
print(content["game"]) # 'Mortal Kombat'
(Find more ideas in
/examples
!)
Note: Python 3.9 or higher is recommended.
- Clone the repository.
$ git clone https://github.com/Batucho/Videogame-Quotes-API
- Install the dependencies.
$ pip install -r requirements.txt
- Run the API!
$ python src/__main__.py
- Check it out at
localhost:8000
or127.0.0.1:8000
.
Feel free to contribute by opening an issue or pull request!
This project is for educational purposes only. The maintainers and contributors of this project claim no ownership or credit for the quotes listed.
Quotes have been retieved from the following sources: