Created
April 23, 2015 16:20
-
-
Save marciomazza/85fab4468c721a63cb5a 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
import getpass | |
from github import Github | |
def main(): | |
username = raw_input("User: ") | |
pw = getpass.getpass('Sua senha: ') | |
g = Github(username, pw) | |
me = g.get_user() | |
interlegis = g.get_organization('interlegis') | |
for r in interlegis.get_repos(): | |
me.add_to_subscriptions(r) | |
if __name__ == '__main__': | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment