1# Samples by API 2 3##  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##  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##  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##  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##  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##  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##  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##  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##  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##  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##  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##  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##  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##  Cloud Compute Engine API 199 200Lets you manage the Google Compute Engine instances in your projects. 201 202<table> 203 <tr> 204 <td><a href="compute">samples/compute</a></td> 205 <td>Creates a Google Compute Engine instance to modify a samples image and upload the result 206 to a Cloud Storage bucket, then deletes the instance.</td> 207 </tr> 208</table> 209 210##  Cloud Storage API 211 212Lets you store and retrieve potentially-large, immutable data objects. 213 214Documentation for the Cloud Storage API in 215[PyDoc](https://google-api-client-libraries.appspot.com/documentation/storage/v1beta2/python/latest/). 216 217<table> 218 <tr> 219 <td><a href="storage">samples/storage</a></td> 220 <td>Uploads and downloads files between Google Cloud Storage and the local 221 filesystem using the Google APIs Python Client Library</td> 222 </tr> 223</table> 224 225##  Tasks API 226 227Lets you manage your tasks and task lists. 228 229Documentation for the Tasks API in 230[PyDoc](https://google-api-client-libraries.appspot.com/documentation/tasks/v1/python/latest/). 231 232<table> 233 <tr> 234 <td><a href="tasks_appengine">samples/tasks_appengine</a></td> 235 <td>Sample code for the guide 236 <a href="https://cloud.google.com/appengine/articles/python/getting_started_with_tasks_api"> 237 Getting Started with Google Tasks API</a></td> 238 </tr> 239 <tr> 240 <td><a href="service_account">samples/service_account</a></td> 241 <td>Demonstrates working with service accounts</td> 242 </tr> 243</table> 244 245##  Translate API 246 247Lets you translate text from one language to another. 248 249Documentation for the Translate API in 250[PyDoc](https://google-api-client-libraries.appspot.com/documentation/translate/v2/python/latest/). 251 252<table> 253 <tr> 254 <td><a href="translate">samples/translate</a></td> 255 <td>Demonstrates the Translate API</td> 256 </tr> 257</table> 258 259##  URL Shortener API 260 261Lets you create, inspect, and manage `goo.gl` short URLs. 262 263Documentation for the URL Shortener API in 264[PyDoc](https://google-api-client-libraries.appspot.com/documentation/urlshortener/v1/python/latest/). 265 266<table> 267 <tr> 268 <td><a href="urlshortener">samples/urlshortener</a></td> 269 <td>Shortens a URL with the URL Shortener API</td> 270 </tr> 271</table> 272 273##  YouTube Data API 274 275Programmatic access to YouTube features. 276 277Documentation for the YouTube Data API in 278[PyDoc](https://google-api-client-libraries.appspot.com/documentation/youtube/v3/python/latest/). 279 280<table> 281 <tr> 282 <td><a href="youtube">samples/youtube</a></td> 283 <td>Demonstrates YouTube APIs</td> 284 </tr> 285</table> 286 287# Pagination Samples 288 289<table> 290 <tr> 291 <td><a href="plus">samples/plus</a></td> 292 <td>Loop over all a user's activities and print a short snippet</td> 293 </tr> 294</table> 295 296# OAuth 2.0 Samples 297 298<table> 299 <tr> 300 <td><a href="appengine">samples/appengine</a></td> 301 <td>Demonstrates the people API and OAuth 2.0 decorator for Google App 302 Engine applications</td> 303 </tr> 304 <tr> 305 <td><a href="service_account">samples/service_account</a></td> 306 <td>Demonstrates working with service accounts</td> 307 </tr> 308</table> 309 310# Media Upload and Download Samples 311 312<table> 313 <tr> 314 <td><a href="storage">samples/storage</a></td> 315 <td>Uploads and downloads files between Google Cloud Storage and the local 316 filesystem using the Google APIs Python Client Library</td> 317 </tr> 318 <tr> 319 <td><a href="youtube">samples/youtube</a></td> 320 <td>Demonstrates YouTube APIs</td> 321 </tr> 322</table> 323 324# Command-line Samples 325 326<table> 327 <tr> 328 <td><a href="adexchangebuyer">samples/adexchangebuyer</a></td> 329 <td>Samples for working with the Ad Exchange Buyer API</td> 330 </tr> 331 <tr> 332 <td><a href="adsense">samples/adsense</a></td> 333 <td>Collection of command-line samples for the AdSense Management API</td> 334 </tr> 335 <tr> 336 <td><a href="analytics">samples/analytics</a></td> 337 <td>Command-line samples for producing reports with the Analytics API</td> 338 </tr> 339 <tr> 340 <td><a href="audit">samples/audit</a></td> 341 <td>Prints the activities for a domain using the Audit API</td> 342 </tr> 343 <tr> 344 <td><a href="blogger">samples/blogger</a></td> 345 <td>Retrieve the list of blogs and their posts for a user</td> 346 </tr> 347 <tr> 348 <td><a href="coordinate">samples/coordinate</a></td> 349 <td>Demonstrates how to use the Google Coordinate API</td> 350 </tr> 351 <tr> 352 <td><a href="customsearch">samples/customsearch</a></td> 353 <td>Search from the command-line</td> 354 </tr> 355 <tr> 356 <td><a href="groupsettings">samples/groupsettings</a></td> 357 <td>Sample for the Groups Settings API</td> 358 </tr> 359 <tr> 360 <td><a href="plus">samples/plus</a></td> 361 <td>Loop over all a user's activities and print a short snippet</td> 362 </tr> 363 <tr> 364 <td><a href="prediction">samples/prediction</a></td> 365 <td>Command-line application that trains on your input data</td> 366 </tr> 367 <tr> 368 <td><a href="searchforshopping">samples/searchforshopping</a></td> 369 <td>Demonstrates the query capabilities for the Search API for Shopping</td> 370 </tr> 371 <tr> 372 <td><a href="storage">samples/storage</a></td> 373 <td>Uploads and downloads files between Google Cloud Storage and the local 374 filesystem using the Google APIs Python Client Library</td> 375 </tr> 376 <tr> 377 <td><a href="translate">samples/translate</a></td> 378 <td>Demonstrates the Translate API</td> 379 </tr> 380 <tr> 381 <td><a href="urlshortener">samples/urlshortener</a></td> 382 <td>Shortens a URL with the URL Shortener API</td> 383 </tr> 384 <tr> 385 <td><a href="youtube">samples/youtube</a></td> 386 <td>Demonstrates YouTube APIs</td> 387 </tr> 388</table> 389 390# Google App Engine Samples 391 392<table> 393 <tr> 394 <td><a href="api-python-client-doc">samples/api-python-client-doc</a></td> 395 <td> 396 Application serving up the Python help documentation for each API 397 (see <a href="http://api-python-client-doc.appspot.com/">here</a>) 398 </td> 399 </tr> 400 <tr> 401 <td><a href="appengine">samples/appengine</a></td> 402 <td>Demonstrates the people API and OAuth 2.0 decorator for Google App 403 Engine applications</td> 404 </tr> 405 <tr> 406 <td><a href="tasks_appengine">samples/tasks_appengine</a></td> 407 <td>Sample code for the guide 408 <a href="https://cloud.google.com/appengine/articles/python/getting_started_with_tasks_api"> 409 Getting Started with Google Tasks API</a></td> 410 </tr> 411</table> 412