Program for fetching images from SpaceX API and Hubble API and uploading them to Instagram.
For proper use you have to get Instagram account.
After that rename the file .env-example to .env and paste your Instagram credentials.
Python3 should be already installed.
It is strictly recommended that you use virtual environment for project isolation.
Then use pip (or pip3, if there is a conflict with Python2) to install dependencies:
pip install -r requirements.txt
Run script fetch_spacex.py
Run script fetch_hubble.py
Run script instapub.py
The code is written for educational purposes on online-course for web-developers dvmn.org.