Integrations
Fetch Holidays Integration ✈️
Getting started 🎯

Getting started 🎯

Prerequisites

Before starting, you will need the following:

Set up the project and virtual environment

First of all, create a fetch-holiday folder for your project files: mkdir fetch-holiday. Then, create another src sub-folder within it for your scripts: mkdir src.

To run the example, you will need API keys from:

  1. RapidAPI Key

  2. OpenAI API Key

    _Note that if you have run out of OpenAI credits, you will not be able to get results for this example.__

  3. SerpAPI Key

Once you have all three keys, create a .env file within the src folder in your project, including the following:

export RAPIDAPI_API_KEY="{GET THE API KEY}"
export OPENAI_API_KEY="{GET THE API KEY}"
export SERPAPI_API_KEY="{GET THE API KEY}"

To use the environment variables from .env and install the project:

cd src
source .env
poetry intall