Skip to content

amna8977/sunsmart

Repository files navigation

SunSmart UV Tracker

https://amna8977.github.io/sunsmart/

Project Contents

  • SunSmartUVtracker.py - A Python Streamlit app that:
    • accepts a city name from the user
    • looks up matching locations via the Open-Meteo geocoding API
    • fetches the current UV index for the selected location
    • displays UV guidance and optional raw API output
  • index.html - Main SunSmart landing page.
  • tracker.html - A more advanced UV tracker page.
  • tracker-basic.html - A simpler UV tracker page.

Getting Started

Use the app

  • Enter a city name like Las Vegas, NV or Paris, France.
  • Select the correct location from the list of matches.
  • View the current UV index and safety guidance.
  • Optionally click Show raw API response to inspect the JSON data.

View the HTML pages

Open any of these files directly in a browser:

  • index.html
  • tracker.html
  • tracker-basic.html

Notes

  • The app uses the Open-Meteo geocoding API and forecast API.
  • The HTML files are static examples and do not require a server.

About

SunSmart is a project that uses a Streamlit app to look up a city, fetch the current UV index from Open-Meteo, and show sunscreen safety guidance alongside uv tracker pages.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors