#!/usr/bin/env python # -*- coding: utf-8 -*- # # Use text editor to edit the script and type in valid Instagram username/password from InstagramAPI import InstagramAPI api = InstagramAPI("login", "password") if (api.login()): api.getSelfUserFeed() # get self user feed print(api.LastJson) # print last response JSON print("Login succes!") else: print("Can't login!")