Skip to content

TovaApis/tovaapis-example-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tova APIs Cities - Python Nearest City Finder

A Flask web app that finds nearby cities and searches for cities by name, powered by the Tova Cities API.

Setup

  1. Install dependencies:
pip install -r requirements.txt
  1. Copy .env.example to .env and add your API key:
TOVA_API_KEY=your_api_key_here

You can get a free key at tovaapis.com.

  1. Run the app:
python app.py

The app will be available at http://localhost:5000.

Pages

  • / (Nearest): Enter coordinates or click "Use My Location" to find cities near you.
  • /search: Search for cities by name, optionally filtering by country.

API Documentation

Full API docs are available at tovaapis.com/Docs/Cities.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors