MCPcopy Index your code
hub / github.com/googleapis/google-api-python-client / main

Function main

samples/customsearch/main.py:30–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28
29
30def main():
31 # Build a service object for interacting with the API. Visit
32 # the Google APIs Console <http://code.google.com/apis/console>
33 # to get an API key for your own application.
34 service = build(
35 "customsearch", "v1", developerKey="<YOUR DEVELOPER KEY>"
36 )
37
38 res = (
39 service.cse()
40 .list(
41 q="lectures",
42 cx="017576662512468239146:omuauf_lfve",
43 )
44 .execute()
45 )
46 pprint.pprint(res)
47
48
49if __name__ == "__main__":

Callers 1

main.pyFile · 0.70

Calls 2

buildFunction · 0.90
executeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…