import sys
sys.path.append('../../')
from instabot import User, Sender

"""
Explanation: Sender example
The example of simple Sender class usage.
Preparations
Import instabot from sources
End of explanation
"""


_ = User('instabotproject', 'password')
_ = User("user_for_scrapping1", "password")
_ = User("user_for_scrapping2", "password")
_ = User("user_for_scrapping3", "password")

"""
Explanation: Login users to be used in instabot. I suggest you to add as many users as you have because all get requests will be parallized between them to distribute the Instagram servers load.
End of explanation
"""


send = Sender("instabotproject")

"""
Explanation: Init the Sender class with the main user's username. This user will be used to put likes / follows and other activity stuff.
End of explanation
"""


geo_name = "МФТИ"
send.like_geo_medias(geo_name, total=100, delay=5)

"""
Explanation: Activity examples
You can like medias by geolocation like this
End of explanation
"""


follow_followers_of = "ohld"
send.follow_followers(follow_followers_of, total=10, delay=10)

"""
Explanation: To follow someone's followers code like this
End of explanation
"""


