This repository contains a simple example project that spins up a trivia web application on your local machine using API Ninjas Trivia API. The source code is written in Python and uses the Flask framework.
You must have a valid API Ninjas API Key to use the API. You can get a free API key from https://api-ninjas.com/register
This example app introduces the following technologies/concepts:
- Python
- Flask web framework
- Making REST API calls
- Rendering HTML using templates
- CSS
Browse the full list of APIs from API Ninjas here.
Once you download the code, run python3 app.py
from a terminal window to launch the local server and type 127.0.0.1:5000
into any browser URL bar to view the web app.
Licensed under the Apache License, Version 2.0.