Demo entry 5627638

mypythoncode

   

Submitted by anonymous on Jul 05, 2016 at 21:07
Language: Python. Code size: 368 Bytes.

def main():

    # 1. in order to use the API we need to request the credentials as described before
    credentials = get_credentials()
    http = credentials.authorize(httplib2.Http())

    # 2. then we need to create an instance of the desired API, here it is Fusion Tables in the second version
    service = discovery.build('fusiontables', 'v2', http=http)

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).