Skip to content

Instantly share code, notes, and snippets.

@moacirmoda
Created October 14, 2016 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moacirmoda/0098652ec05700fc86886a6ba70d8b5c to your computer and use it in GitHub Desktop.
Save moacirmoda/0098652ec05700fc86886a6ba70d8b5c to your computer and use it in GitHub Desktop.
# 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