Created
August 31, 2015 01:28
-
-
Save nbortolotti/189e1a4788676edca688 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
def main(argv): | |
people = raw_input('G+ id to analyze? ') | |
postnumers = int(raw_input('number of posts ')) | |
service, flags = sample_tools.init( | |
argv, 'plus', 'v1', __doc__, __file__, | |
scope='https://www.googleapis.com/auth/plus.me') | |
try: | |
person = service.people().get(userId=people).execute() | |
# show people name | |
print 'ID: %s' % person['displayName'] | |
tech = ['Polymer', 'Android'] | |
request = service.activities().list(userId=person['id'], collection='public', maxResults='1') | |
#open file | |
myfile = open(people + '.csv', 'wb') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment