Application allows:
- Downloading SpaceX last launch images
- Downloading Hubble images belonging to a specific collection
- Resizing images to Instagram format
- Post images on Instagram
Python3 and Git should be already installed.
- Clone the repository by command:
git clone https://github.com/balancy/space_instagram
- Inside cloned repository create virtual environment by command:
python -m venv env
- Activate virtual environment. For linux-based OS:
source env/bin/activate
For Windows:
env\scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Rename file
.env.example
to.env
and initialize your instagram username and password:
INSTAGRAM_USERNAME='your_instagram_username'
INSTAGRAM_PASSWORD='your_instagram_password'
- Run script by command:
python main.py
The code is written for educational purposes on online-course for web-developers dvmn.org.