• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Samples by API
2
3## ![](http://www.google.com/images/icons/product/doubleclick-32.gif) Ad Exchange Buyer API
4
5Lets you manage your Ad Exchange Buyer account.
6
7Documentation for the Ad Exchange Buyer API in
8[PyDoc](https://google-api-client-libraries.appspot.com/documentation/adexchangebuyer/v1.3/python/latest/).
9
10<table>
11  <tr>
12    <td><a href="adexchangebuyer">samples/adexchangebuyer</a></td>
13    <td>Samples for working with the Ad Exchange Buyer API</td>
14  </tr>
15</table>
16
17## ![](http://www.google.com/images/icons/product/adsense-32.png) AdSense Management API
18
19Gives AdSense publishers access to their inventory and the ability to generate
20reports.
21
22Documentation for the AdSense Management API in
23[PyDoc](https://google-api-client-libraries.appspot.com/documentation/adsense/v1.3/python/latest/).
24
25<table>
26  <tr>
27    <td><a href="adsense">samples/adsense</a></td>
28    <td>Collection of command-line samples for the AdSense Management API</td>
29  </tr>
30</table>
31
32## ![](http://www.google.com/images/icons/product/analytics-32.png) Google Analytics API
33
34View and manage your Google Analytics data.
35
36Documentation for the Google Analytics API in
37[PyDoc](https://google-api-client-libraries.appspot.com/documentation/analytics/v3/python/latest/).
38
39<table>
40  <tr>
41    <td><a href="analytics">samples/analytics</a></td>
42    <td>Command-line samples for producing reports with the Analytics API</td>
43  </tr>
44</table>
45
46## ![](http://www.google.com/images/icons/product/search-32.gif) Enterprise Audit API
47
48Lets you access user activities in your enterprise made through various
49applications.
50
51Documentation for the Enterprise Audit API in
52[PyDoc](https://google-api-client-libraries.appspot.com/documentation/audit/v1/python/latest/).
53
54<table>
55  <tr>
56    <td><a href="audit">samples/audit</a></td>
57    <td>Prints the activities for a domain using the Audit API</td>
58  </tr>
59</table>
60
61## ![](http://www.google.com/images/icons/product/blogger-32.png) Blogger API
62
63API for access to the data within Blogger.
64
65Documentation for the Blogger API in
66[PyDoc](https://google-api-client-libraries.appspot.com/documentation/blogger/v3/python/latest/).
67
68<table>
69  <tr>
70    <td><a href="blogger">samples/blogger</a></td>
71    <td>Retrieve the list of blogs and their posts for a user</td>
72  </tr>
73</table>
74
75## ![](http://www.google.com/images/icons/product/search-32.gif) Google Maps Coordinate API
76
77Lets you view and manage jobs in a Coordinate team.
78
79Documentation for the Google Maps Coordinate API in
80[PyDoc](https://google-api-client-libraries.appspot.com/documentation/coordinate/v1/python/latest/).
81
82<table>
83  <tr>
84    <td><a href="coordinate">samples/coordinate</a></td>
85    <td>Demonstrates how to use the Google Coordinate API</td>
86  </tr>
87</table>
88
89## ![](http://www.google.com/images/icons/product/search-32.gif) CustomSearch API
90
91Lets you search over a website or collection of websites.
92
93Documentation for the CustomSearch API in
94[PyDoc](https://google-api-client-libraries.appspot.com/documentation/customsearch/v1/python/latest/).
95
96<table>
97  <tr>
98    <td><a href="customsearch">samples/customsearch</a></td>
99    <td>Search from the command-line</td>
100  </tr>
101</table>
102
103## ![](http://www.google.com/images/icons/feature/filing_cabinet_search-g32.png) APIs Discovery Service
104
105Lets you discover information about other Google APIs, such as what APIs are
106available, the resource and method details for each API.
107
108Documentation for the APIs Discovery Service in
109[PyDoc](https://google-api-client-libraries.appspot.com/documentation/discovery/v1/python/latest/).
110
111<table>
112  <tr>
113    <td><a href="api-python-client-doc">samples/api-python-client-doc</a></td>
114    <td>
115    Application serving up the Python help documentation for each API
116    (see <a href="http://api-python-client-doc.appspot.com/">here</a>)
117    </td>
118  </tr>
119</table>
120
121## ![](http://www.google.com/images/icons/product/search-32.gif) Groups Settings API
122
123Lets you manage permission levels and related settings of a group.
124
125Documentation for the Groups Settings API in
126[PyDoc](https://google-api-client-libraries.appspot.com/documentation/groupssettings/v1/python/latest/).
127
128<table>
129  <tr>
130    <td><a href="groupssettings">samples/groupssettings</a></td>
131    <td>Sample for the Groups Settings API</td>
132  </tr>
133</table>
134
135## ![](http://www.google.com/images/icons/product/gplus-32.png) Google+ API
136
137The Google+ API enables developers to build on top of the Google+ platform.
138
139Documentation for the Google+ API in
140[PyDoc](https://google-api-client-libraries.appspot.com/documentation/plus/v1/python/latest/).
141
142<table>
143  <tr>
144    <td><a href="appengine">samples/appengine</a></td>
145    <td>Demonstrates the people API and OAuth 2.0 decorator for Google App
146    Engine applications</td>
147  </tr>
148  <tr>
149    <td><a href="plus">samples/plus</a></td>
150    <td>Loop over all a user's activities and print a short snippet</td>
151  </tr>
152</table>
153
154## ![](http://www.google.com/images/icons/feature/predictionapi-32.png) Prediction API
155
156Lets you access a cloud hosted machine learning service that makes it easy to
157build smart apps
158
159Documentation for the Prediction API in
160[PyDoc](https://google-api-client-libraries.appspot.com/documentation/prediction/v1.6/python/latest/).
161
162<table>
163  <tr>
164    <td><a href="prediction">samples/prediction</a></td>
165    <td>Command-line application that trains on your input data</td>
166  </tr>
167</table>
168
169## ![](http://www.google.com/images/icons/product/search-32.gif) Search Console API
170
171Add sites to a Search Console account, retrieve site data and diagnostics, and submit sitemaps.
172
173Documentation for the Search Console API in
174[Google Developers](https://developers.google.com/webmaster-tools/v3/).
175
176<table>
177  <tr>
178    <td><a href="searchconsole">samples/searchconsole</a></td>
179    <td>Command-line samples for Search Console API (formerly known as Webmaster Tools API)</td>
180  </tr>
181</table>
182
183
184## ![](http://www.google.com/images/icons/product/search-32.gif) Search API For Shopping
185
186Lets you search over product data.
187
188Documentation for the Search API For Shopping in
189[PyDoc](https://google-api-client-libraries.appspot.com/documentation/shopping/v1/python/latest/).
190
191<table>
192  <tr>
193    <td><a href="searchforshopping">samples/searchforshopping</a></td>
194    <td>Demonstrates the query capabilities for the Search API for Shopping</td>
195  </tr>
196</table>
197
198## ![](https://www.google.com/images/icons/product/cloud_storage-32.png) Cloud Storage API
199
200Lets you store and retrieve potentially-large, immutable data objects.
201
202Documentation for the Cloud Storage API in
203[PyDoc](https://google-api-client-libraries.appspot.com/documentation/storage/v1beta2/python/latest/).
204
205<table>
206  <tr>
207    <td><a href="storage">samples/storage</a></td>
208    <td>Uploads and downloads files between Google Cloud Storage and the local
209    filesystem using the Google APIs Python Client Library</td>
210  </tr>
211</table>
212
213## ![](http://www.google.com/images/icons/product/tasks-32.png) Tasks API
214
215Lets you manage your tasks and task lists.
216
217Documentation for the Tasks API in
218[PyDoc](https://google-api-client-libraries.appspot.com/documentation/tasks/v1/python/latest/).
219
220<table>
221  <tr>
222    <td><a href="tasks_appengine">samples/tasks_appengine</a></td>
223    <td>Sample code for the guide
224    <a href="https://cloud.google.com/appengine/articles/python/getting_started_with_tasks_api">
225    Getting Started with Google Tasks API</a></td>
226  </tr>
227  <tr>
228    <td><a href="service_account">samples/service_account</a></td>
229    <td>Demonstrates working with service accounts</td>
230  </tr>
231</table>
232
233## ![](http://www.google.com/images/icons/product/translate-32.png) Translate API
234
235Lets you translate text from one language to another.
236
237Documentation for the Translate API in
238[PyDoc](https://google-api-client-libraries.appspot.com/documentation/translate/v2/python/latest/).
239
240<table>
241  <tr>
242    <td><a href="translate">samples/translate</a></td>
243    <td>Demonstrates the Translate API</td>
244  </tr>
245</table>
246
247## ![](http://www.google.com/images/icons/product/search-32.gif) URL Shortener API
248
249Lets you create, inspect, and manage `goo.gl` short URLs.
250
251Documentation for the URL Shortener API in
252[PyDoc](https://google-api-client-libraries.appspot.com/documentation/urlshortener/v1/python/latest/).
253
254<table>
255  <tr>
256    <td><a href="urlshortener">samples/urlshortener</a></td>
257    <td>Shortens a URL with the URL Shortener API</td>
258  </tr>
259</table>
260
261## ![](http://www.google.com/images/icons/product/youtube-32.png) YouTube Data API
262
263Programmatic access to YouTube features.
264
265Documentation for the YouTube Data API in
266[PyDoc](https://google-api-client-libraries.appspot.com/documentation/youtube/v3/python/latest/).
267
268<table>
269  <tr>
270    <td><a href="youtube">samples/youtube</a></td>
271    <td>Demonstrates YouTube APIs</td>
272  </tr>
273</table>
274
275# Pagination Samples
276
277<table>
278  <tr>
279    <td><a href="plus">samples/plus</a></td>
280    <td>Loop over all a user's activities and print a short snippet</td>
281  </tr>
282</table>
283
284# OAuth 2.0 Samples
285
286<table>
287  <tr>
288    <td><a href="appengine">samples/appengine</a></td>
289    <td>Demonstrates the people API and OAuth 2.0 decorator for Google App
290    Engine applications</td>
291  </tr>
292  <tr>
293    <td><a href="service_account">samples/service_account</a></td>
294    <td>Demonstrates working with service accounts</td>
295  </tr>
296</table>
297
298# Media Upload and Download Samples
299
300<table>
301  <tr>
302    <td><a href="storage">samples/storage</a></td>
303    <td>Uploads and downloads files between Google Cloud Storage and the local
304    filesystem using the Google APIs Python Client Library</td>
305  </tr>
306  <tr>
307    <td><a href="youtube">samples/youtube</a></td>
308    <td>Demonstrates YouTube APIs</td>
309  </tr>
310</table>
311
312# Command-line Samples
313
314<table>
315  <tr>
316    <td><a href="adexchangebuyer">samples/adexchangebuyer</a></td>
317    <td>Samples for working with the Ad Exchange Buyer API</td>
318  </tr>
319  <tr>
320    <td><a href="adsense">samples/adsense</a></td>
321    <td>Collection of command-line samples for the AdSense Management API</td>
322  </tr>
323  <tr>
324    <td><a href="analytics">samples/analytics</a></td>
325    <td>Command-line samples for producing reports with the Analytics API</td>
326  </tr>
327  <tr>
328    <td><a href="audit">samples/audit</a></td>
329    <td>Prints the activities for a domain using the Audit API</td>
330  </tr>
331  <tr>
332    <td><a href="blogger">samples/blogger</a></td>
333    <td>Retrieve the list of blogs and their posts for a user</td>
334  </tr>
335  <tr>
336    <td><a href="coordinate">samples/coordinate</a></td>
337    <td>Demonstrates how to use the Google Coordinate API</td>
338  </tr>
339  <tr>
340    <td><a href="customsearch">samples/customsearch</a></td>
341    <td>Search from the command-line</td>
342  </tr>
343  <tr>
344    <td><a href="groupsettings">samples/groupsettings</a></td>
345    <td>Sample for the Groups Settings API</td>
346  </tr>
347  <tr>
348    <td><a href="plus">samples/plus</a></td>
349    <td>Loop over all a user's activities and print a short snippet</td>
350  </tr>
351  <tr>
352    <td><a href="prediction">samples/prediction</a></td>
353    <td>Command-line application that trains on your input data</td>
354  </tr>
355  <tr>
356    <td><a href="searchforshopping">samples/searchforshopping</a></td>
357    <td>Demonstrates the query capabilities for the Search API for Shopping</td>
358  </tr>
359  <tr>
360    <td><a href="storage">samples/storage</a></td>
361    <td>Uploads and downloads files between Google Cloud Storage and the local
362    filesystem using the Google APIs Python Client Library</td>
363  </tr>
364  <tr>
365    <td><a href="translate">samples/translate</a></td>
366    <td>Demonstrates the Translate API</td>
367  </tr>
368  <tr>
369    <td><a href="urlshortener">samples/urlshortener</a></td>
370    <td>Shortens a URL with the URL Shortener API</td>
371  </tr>
372  <tr>
373    <td><a href="youtube">samples/youtube</a></td>
374    <td>Demonstrates YouTube APIs</td>
375  </tr>
376</table>
377
378# Google App Engine Samples
379
380<table>
381  <tr>
382    <td><a href="api-python-client-doc">samples/api-python-client-doc</a></td>
383    <td>
384    Application serving up the Python help documentation for each API
385    (see <a href="http://api-python-client-doc.appspot.com/">here</a>)
386    </td>
387  </tr>
388  <tr>
389    <td><a href="appengine">samples/appengine</a></td>
390    <td>Demonstrates the people API and OAuth 2.0 decorator for Google App
391    Engine applications</td>
392  </tr>
393  <tr>
394    <td><a href="tasks_appengine">samples/tasks_appengine</a></td>
395    <td>Sample code for the guide
396    <a href="https://cloud.google.com/appengine/articles/python/getting_started_with_tasks_api">
397    Getting Started with Google Tasks API</a></td>
398  </tr>
399</table>
400
401