Home | History | Annotate | only in /external/python/google-api-python-client/samples
Up to higher level directory
NameDateSize
adexchangebuyer/22-Oct-2020
adexchangeseller/22-Oct-2020
adsense/22-Oct-2020
adsensehost/22-Oct-2020
analytics/22-Oct-2020
api-python-client-doc/22-Oct-2020
appengine/22-Oct-2020
audit/22-Oct-2020
blogger/22-Oct-2020
calendar_api/22-Oct-2020
coordinate/22-Oct-2020
customsearch/22-Oct-2020
dfareporting/22-Oct-2020
groupssettings/22-Oct-2020
maps_engine/22-Oct-2020
plus/22-Oct-2020
prediction/22-Oct-2020
README.md22-Oct-202012.7K
searchconsole/22-Oct-2020
searchforshopping/22-Oct-2020
service_account/22-Oct-2020
storage/22-Oct-2020
storage_serviceaccount_appengine/22-Oct-2020
tasks_appengine/22-Oct-2020
translate/22-Oct-2020
urlshortener/22-Oct-2020
youtube/22-Oct-2020

README.md

      1 # Samples by API
      2 
      3 ## ![](http://www.google.com/images/icons/product/doubleclick-32.gif) Ad Exchange Buyer API
      4 
      5 Lets you manage your Ad Exchange Buyer account.
      6 
      7 Documentation 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 
     19 Gives AdSense publishers access to their inventory and the ability to generate
     20 reports.
     21 
     22 Documentation 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 
     34 View and manage your Google Analytics data.
     35 
     36 Documentation 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 
     48 Lets you access user activities in your enterprise made through various
     49 applications.
     50 
     51 Documentation 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 
     63 API for access to the data within Blogger.
     64 
     65 Documentation 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 
     77 Lets you view and manage jobs in a Coordinate team.
     78 
     79 Documentation 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 
     91 Lets you search over a website or collection of websites.
     92 
     93 Documentation 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 
    105 Lets you discover information about other Google APIs, such as what APIs are
    106 available, the resource and method details for each API.
    107 
    108 Documentation 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 
    123 Lets you manage permission levels and related settings of a group.
    124 
    125 Documentation 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 
    137 The Google+ API enables developers to build on top of the Google+ platform.
    138 
    139 Documentation 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   <tr>
    153     <td><a href="django_sample">samples/django_sample</a></td>
    154     <td>Demonstrates oauth2client and the Google+ API from Django</td>
    155   </tr>
    156 </table>
    157 
    158 ## ![](http://www.google.com/images/icons/feature/predictionapi-32.png) Prediction API
    159 
    160 Lets you access a cloud hosted machine learning service that makes it easy to
    161 build smart apps
    162 
    163 Documentation for the Prediction API in
    164 [PyDoc](https://google-api-client-libraries.appspot.com/documentation/prediction/v1.6/python/latest/).
    165 
    166 <table>
    167   <tr>
    168     <td><a href="prediction">samples/prediction</a></td>
    169     <td>Command-line application that trains on your input data</td>
    170   </tr>
    171 </table>
    172 
    173 ## ![](http://www.google.com/images/icons/product/search-32.gif) Search Console API
    174 
    175 Add sites to a Search Console account, retrieve site data and diagnostics, and submit sitemaps.
    176 
    177 Documentation for the Search Console API in
    178 [Google Developers](https://developers.google.com/webmaster-tools/v3/).
    179 
    180 <table>
    181   <tr>
    182     <td><a href="searchconsole">samples/searchconsole</a></td>
    183     <td>Command-line samples for Search Console API (formerly known as Webmaster Tools API)</td>
    184   </tr>
    185 </table>
    186 
    187 
    188 ## ![](http://www.google.com/images/icons/product/search-32.gif) Search API For Shopping
    189 
    190 Lets you search over product data.
    191 
    192 Documentation for the Search API For Shopping in
    193 [PyDoc](https://google-api-client-libraries.appspot.com/documentation/shopping/v1/python/latest/).
    194 
    195 <table>
    196   <tr>
    197     <td><a href="searchforshopping">samples/searchforshopping</a></td>
    198     <td>Demonstrates the query capabilities for the Search API for Shopping</td>
    199   </tr>
    200 </table>
    201 
    202 ## ![](https://www.google.com/images/icons/product/cloud_storage-32.png) Cloud Storage API
    203 
    204 Lets you store and retrieve potentially-large, immutable data objects.
    205 
    206 Documentation for the Cloud Storage API in
    207 [PyDoc](https://google-api-client-libraries.appspot.com/documentation/storage/v1beta2/python/latest/).
    208 
    209 <table>
    210   <tr>
    211     <td><a href="storage">samples/storage</a></td>
    212     <td>Uploads and downloads files between Google Cloud Storage and the local
    213     filesystem using the Google APIs Python Client Library</td>
    214   </tr>
    215 </table>
    216 
    217 ## ![](http://www.google.com/images/icons/product/tasks-32.png) Tasks API
    218 
    219 Lets you manage your tasks and task lists.
    220 
    221 Documentation for the Tasks API in
    222 [PyDoc](https://google-api-client-libraries.appspot.com/documentation/tasks/v1/python/latest/).
    223 
    224 <table>
    225   <tr>
    226     <td><a href="tasks_appengine">samples/tasks_appengine</a></td>
    227     <td>Sample code for the guide
    228     <a href="https://cloud.google.com/appengine/articles/python/getting_started_with_tasks_api">
    229     Getting Started with Google Tasks API</a></td>
    230   </tr>
    231   <tr>
    232     <td><a href="service_account">samples/service_account</a></td>
    233     <td>Demonstrates working with service accounts</td>
    234   </tr>
    235 </table>
    236 
    237 ## ![](http://www.google.com/images/icons/product/translate-32.png) Translate API
    238 
    239 Lets you translate text from one language to another.
    240 
    241 Documentation for the Translate API in
    242 [PyDoc](https://google-api-client-libraries.appspot.com/documentation/translate/v2/python/latest/).
    243 
    244 <table>
    245   <tr>
    246     <td><a href="translate">samples/translate</a></td>
    247     <td>Demonstrates the Translate API</td>
    248   </tr>
    249 </table>
    250 
    251 ## ![](http://www.google.com/images/icons/product/search-32.gif) URL Shortener API
    252 
    253 Lets you create, inspect, and manage `goo.gl` short URLs.
    254 
    255 Documentation for the URL Shortener API in
    256 [PyDoc](https://google-api-client-libraries.appspot.com/documentation/urlshortener/v1/python/latest/).
    257 
    258 <table>
    259   <tr>
    260     <td><a href="urlshortener">samples/urlshortener</a></td>
    261     <td>Shortens a URL with the URL Shortener API</td>
    262   </tr>
    263 </table>
    264 
    265 ## ![](http://www.google.com/images/icons/product/youtube-32.png) YouTube Data API
    266 
    267 Programmatic access to YouTube features.
    268 
    269 Documentation for the YouTube Data API in
    270 [PyDoc](https://google-api-client-libraries.appspot.com/documentation/youtube/v3/python/latest/).
    271 
    272 <table>
    273   <tr>
    274     <td><a href="youtube">samples/youtube</a></td>
    275     <td>Demonstrates YouTube APIs</td>
    276   </tr>
    277 </table>
    278 
    279 # Pagination Samples
    280 
    281 <table>
    282   <tr>
    283     <td><a href="plus">samples/plus</a></td>
    284     <td>Loop over all a user's activities and print a short snippet</td>
    285   </tr>
    286 </table>
    287 
    288 # OAuth 2.0 Samples
    289 
    290 <table>
    291   <tr>
    292     <td><a href="appengine">samples/appengine</a></td>
    293     <td>Demonstrates the people API and OAuth 2.0 decorator for Google App
    294     Engine applications</td>
    295   </tr>
    296   <tr>
    297     <td><a href="django_sample">samples/django_sample</a></td>
    298     <td>Demonstrates oauth2client and the Google+ API from Django</td>
    299   </tr>
    300   <tr>
    301     <td><a href="service_account">samples/service_account</a></td>
    302     <td>Demonstrates working with service accounts</td>
    303   </tr>
    304 </table>
    305 
    306 # Media Upload and Download Samples
    307 
    308 <table>
    309   <tr>
    310     <td><a href="storage">samples/storage</a></td>
    311     <td>Uploads and downloads files between Google Cloud Storage and the local
    312     filesystem using the Google APIs Python Client Library</td>
    313   </tr>
    314   <tr>
    315     <td><a href="youtube">samples/youtube</a></td>
    316     <td>Demonstrates YouTube APIs</td>
    317   </tr>
    318 </table>
    319 
    320 # Django Samples
    321 
    322 <table>
    323   <tr>
    324     <td><a href="django_sample">samples/django_sample</a></td>
    325     <td>Demonstrates oauth2client and the Google+ API from Django</td>
    326   </tr>
    327 </table>
    328 
    329 # Command-line Samples
    330 
    331 <table>
    332   <tr>
    333     <td><a href="adexchangebuyer">samples/adexchangebuyer</a></td>
    334     <td>Samples for working with the Ad Exchange Buyer API</td>
    335   </tr>
    336   <tr>
    337     <td><a href="adsense">samples/adsense</a></td>
    338     <td>Collection of command-line samples for the AdSense Management API</td>
    339   </tr>
    340   <tr>
    341     <td><a href="analytics">samples/analytics</a></td>
    342     <td>Command-line samples for producing reports with the Analytics API</td>
    343   </tr>
    344   <tr>
    345     <td><a href="audit">samples/audit</a></td>
    346     <td>Prints the activities for a domain using the Audit API</td>
    347   </tr>
    348   <tr>
    349     <td><a href="blogger">samples/blogger</a></td>
    350     <td>Retrieve the list of blogs and their posts for a user</td>
    351   </tr>
    352   <tr>
    353     <td><a href="coordinate">samples/coordinate</a></td>
    354     <td>Demonstrates how to use the Google Coordinate API</td>
    355   </tr>
    356   <tr>
    357     <td><a href="customsearch">samples/customsearch</a></td>
    358     <td>Search from the command-line</td>
    359   </tr>
    360   <tr>
    361     <td><a href="groupsettings">samples/groupsettings</a></td>
    362     <td>Sample for the Groups Settings API</td>
    363   </tr>
    364   <tr>
    365     <td><a href="plus">samples/plus</a></td>
    366     <td>Loop over all a user's activities and print a short snippet</td>
    367   </tr>
    368   <tr>
    369     <td><a href="prediction">samples/prediction</a></td>
    370     <td>Command-line application that trains on your input data</td>
    371   </tr>
    372   <tr>
    373     <td><a href="searchforshopping">samples/searchforshopping</a></td>
    374     <td>Demonstrates the query capabilities for the Search API for Shopping</td>
    375   </tr>
    376   <tr>
    377     <td><a href="storage">samples/storage</a></td>
    378     <td>Uploads and downloads files between Google Cloud Storage and the local
    379     filesystem using the Google APIs Python Client Library</td>
    380   </tr>
    381   <tr>
    382     <td><a href="translate">samples/translate</a></td>
    383     <td>Demonstrates the Translate API</td>
    384   </tr>
    385   <tr>
    386     <td><a href="urlshortener">samples/urlshortener</a></td>
    387     <td>Shortens a URL with the URL Shortener API</td>
    388   </tr>
    389   <tr>
    390     <td><a href="youtube">samples/youtube</a></td>
    391     <td>Demonstrates YouTube APIs</td>
    392   </tr>
    393 </table>
    394 
    395 # Google App Engine Samples
    396 
    397 <table>
    398   <tr>
    399     <td><a href="api-python-client-doc">samples/api-python-client-doc</a></td>
    400     <td>
    401     Application serving up the Python help documentation for each API
    402     (see <a href="http://api-python-client-doc.appspot.com/">here</a>)
    403     </td>
    404   </tr>
    405   <tr>
    406     <td><a href="appengine">samples/appengine</a></td>
    407     <td>Demonstrates the people API and OAuth 2.0 decorator for Google App
    408     Engine applications</td>
    409   </tr>
    410   <tr>
    411     <td><a href="tasks_appengine">samples/tasks_appengine</a></td>
    412     <td>Sample code for the guide
    413     <a href="https://cloud.google.com/appengine/articles/python/getting_started_with_tasks_api">
    414     Getting Started with Google Tasks API</a></td>
    415   </tr>
    416 </table>
    417 
    418