Skip to content

API-Ninjas/API-Ninjas-basic-example-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Ninjas Web App Example (Trivia)

Screenshot

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.

Getting Started

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.

License

Licensed under the Apache License, Version 2.0.

About

Example projects using different APIs from API Ninjas

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published