Skip to content

predicthq/streamlit-location-insights-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Location Insights Demo

The idea is you lookup a location and we show you a number of insights about it using our Location Insights product.

Running the app

To run the app locally:

$ cd streamlit-location-insights-demo
$ python3 -m venv .venv
$ 
$ source .venv/bin/activate
$ pip install --upgrade pip
$ pip install -r requirements.txt
$ 
$ streamlit run main.py

You'll need to get an API token by following the instructions at https://docs.predicthq.com/api/authenticating and create a Streamlit secrets file .streamlit/secrets.toml with the following contents:

api_key = "<your API token>"
google_api_key = "<your google API token for address lookups>"

title = "Discover and unlock the power of event intelligence for your locations:"
suggested_radius_industry = "accommodation"

About

A simple application that demonstrates the power of PredictHQ's APIs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages