Sign inSign up

legnoh/google-pollen-exporter

By legnoh

•Updated 11 days ago

Image
0

1.5K

legnoh/google-pollen-exporter repository overview

⁠google-pollen-exporter

Badge publish

Prometheus(OpenMetrics) exporter for Google Pollen API⁠.

⁠Usage

⁠Registration

At first, Set up API and create API Key.

Check your target coordinates(lat/long) in google maps.

⁠Start(Docker)

The simplest way to use it is with Docker.

docker run -p 8000:8000 \
     -e GOOGLE_API_KEY="yourapikeyhere" \
     -e COORDINATES="35.685385800250806, 139.75336965608045" \
     -e LANGUAGE_CODE="ja" \
    legnoh/google-pollen-exporter
⁠Start(source)

Alternatively, it can be started from the source.

# clone
git clone https://github.com/legnoh/google-pollen-exporter.git && cd google-pollen-exporter
uv sync

# prepare .env file for your apps
cat << EOS > .env
GOOGLE_API_KEY="yourapikeyhere"
COORDINATES="35.685385800250806, 139.75336965608045"
LANGUAGE_CODE="ja"
EOS

# run exporter
uv run main.py

⁠Metrics

please check metrics.yml⁠ or example⁠

⁠Disclaim

  • This script is NOT authorized by Google.
    • We are not responsible for any damages caused by using this script.
  • This script is not intended to overload these sites or services.
    • When using this script, please keep your request frequency within a sensible range.

Tag summary

Content type

Image

Digest

sha256:956a31a15…

Size

99.7 MB

Last updated

11 days ago

docker pull legnoh/google-pollen-exporter