This repository contains a Python script designed for automatically updating an Elasticsearch index to ensure the data remains current, especially useful for applications with dynamic data. The script is deployable via Google Cloud Platform (GCP), utilizing Cloud Functions for execution and Cloud Scheduler for periodic updates.
- Blog post on Keeping Your Elasticsearch Index Current with Python and Google Cloud Platform Functions
- Jupyter Notebook for local testing.
- This example uses Elasticsearch version 8.12; if you are new, check out our Quick Start on Elasticsearch.
- Download the latest version of Python if you don't have it installed on your machine. This example utilizes Python 3.12.1.
- An API key for NASA's APIs.
Let us know if you need if this blog post inspires you to build anything or if you have any questions on our Discuss forums and the community Slack channel.