Created
October 14, 2016 14:00
-
-
Save moacirmoda/0098652ec05700fc86886a6ba70d8b5c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/moacirmoda/pygram/blob/master/pygram/api.py | |
from pygram.api import PyGram | |
users = ( | |
('user1', 'pass1'), | |
('user2', 'pass2'), | |
) | |
apis = [] | |
for username, password in users: | |
api = PyGram(username, password) | |
api.login() | |
apis.append((username, api)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment