Python horoscope
The program allows you to get a horoscope for your zodiac sign and immediately translate it into almost any language.
Step 1
The first thing you have to do is register on the RapidApi website and get the API key.
Step 2
Then get access (subscribe to test) these two APIs:
- Aztro - Get daily horoscope!
- Google Translate - original Google Translate as a simple REST API
Step 3
Now create environment variables in your virtual environment and save your API key there.
If you don't know how to do this, please, read this article.
Step 4
Install the requirements using pip install -r requirements.txt
.
Step 5
Run the worker.py
file and enjoy!