首页 > 代码库 > 如何用Google APIs和Google的应用系统进行集成(2)----发现Google APIs的RESTFul服务

如何用Google APIs和Google的应用系统进行集成(2)----发现Google APIs的RESTFul服务

上篇文章,我提到了,Google APIs暴露了86种不同种类和版本的API。我们可以通过在浏览器里面输入https://www.googleapis.com/discovery/v1/apis这个URL地址,其将会把所有Google API支持的不同种类和版本的API全部列出来。其具体信息如下:


序号API 标题名字版本RestFul请求的URLRestFul请求的URL
1Ad Exchange Buyer APIadexchangebuyerv1https://www.googleapis.com/discovery/v1/apis/adexchangebuyer/v1/resthttps://developers.google.com/ad-exchange/buyer-rest
2Ad Exchange Buyer APIadexchangebuyerv1.1https://www.googleapis.com/discovery/v1/apis/adexchangebuyer/v1.1/resthttps://developers.google.com/ad-exchange/buyer-rest
3Ad Exchange Buyer APIadexchangebuyerv1.2https://www.googleapis.com/discovery/v1/apis/adexchangebuyer/v1.2/resthttps://developers.google.com/ad-exchange/buyer-rest
4Ad Exchange Buyer APIadexchangebuyerv1.3https://www.googleapis.com/discovery/v1/apis/adexchangebuyer/v1.3/resthttps://developers.google.com/ad-exchange/buyer-rest
5Ad Exchange Seller APIadexchangesellerv1https://www.googleapis.com/discovery/v1/apis/adexchangeseller/v1/resthttps://developers.google.com/ad-exchange/seller-rest/
6Ad Exchange Seller APIadexchangesellerv1.1https://www.googleapis.com/discovery/v1/apis/adexchangeseller/v1.1/resthttps://developers.google.com/ad-exchange/seller-rest/
7Admin Directory APIadmindirectory_v1https://www.googleapis.com/discovery/v1/apis/admin/directory_v1/resthttps://developers.google.com/admin-sdk/directory/
8Email Migration API v2adminemail_migration_v2https://www.googleapis.com/discovery/v1/apis/admin/email_migration_v2/resthttps://developers.google.com/admin-sdk/email-migration/v2/
9Admin Reports APIadminreports_v1https://www.googleapis.com/discovery/v1/apis/admin/reports_v1/resthttps://developers.google.com/admin-sdk/reports/
10AdSense Management APIadsensev1.2https://www.googleapis.com/discovery/v1/apis/adsense/v1.2/resthttps://developers.google.com/adsense/management/
11AdSense Management APIadsensev1.3https://www.googleapis.com/discovery/v1/apis/adsense/v1.3/resthttps://developers.google.com/adsense/management/
12AdSense Management APIadsensev1.4https://www.googleapis.com/discovery/v1/apis/adsense/v1.4/resthttps://developers.google.com/adsense/management/
13AdSense Host APIadsensehostv4.1https://www.googleapis.com/discovery/v1/apis/adsensehost/v4.1/resthttps://developers.google.com/adsense/host/
14Google Analytics APIanalyticsv2.4https://www.googleapis.com/discovery/v1/apis/analytics/v2.4/resthttps://developers.google.com/analytics/
15Google Analytics APIanalyticsv3https://www.googleapis.com/discovery/v1/apis/analytics/v3/resthttps://developers.google.com/analytics/
16Google Play Android Developer APIandroidpublisherv1https://www.googleapis.com/discovery/v1/apis/androidpublisher/v1/resthttps://developers.google.com/android-publisher
17Google Play Android Developer APIandroidpublisherv1.1https://www.googleapis.com/discovery/v1/apis/androidpublisher/v1.1/resthttps://developers.google.com/android-publisher
18Google App State APIappstatev1https://www.googleapis.com/discovery/v1/apis/appstate/v1/resthttps://developers.google.com/games/services/web/api/states
19Enterprise Audit APIauditv1https://www.googleapis.com/discovery/v1/apis/audit/v1/resthttps://developers.google.com/google-apps/admin-audit/get_started
20BigQuery APIbigqueryv2https://www.googleapis.com/discovery/v1/apis/bigquery/v2/resthttps://developers.google.com/bigquery/docs/overview
21Blogger APIbloggerv2https://www.googleapis.com/discovery/v1/apis/blogger/v2/resthttps://developers.google.com/blogger/docs/2.0/json/getting_started
22Blogger APIbloggerv3https://www.googleapis.com/discovery/v1/apis/blogger/v3/resthttps://developers.google.com/blogger/docs/3.0/getting_started
23Books APIbooksv1https://www.googleapis.com/discovery/v1/apis/books/v1/resthttps://developers.google.com/books/docs/v1/getting_started
24Calendar APIcalendarv3https://www.googleapis.com/discovery/v1/apis/calendar/v3/resthttps://developers.google.com/google-apps/calendar/firstapp
25Google Civic Information APIcivicinfous_v1https://www.googleapis.com/discovery/v1/apis/civicinfo/us_v1/resthttps://developers.google.com/civic-information
26Compute Engine APIcomputev1https://www.googleapis.com/discovery/v1/apis/compute/v1/resthttps://developers.google.com/compute/docs/reference/latest/
27Google Maps Coordinate APIcoordinatev1https://www.googleapis.com/discovery/v1/apis/coordinate/v1/resthttps://developers.google.com/coordinate/
28CustomSearch APIcustomsearchv1https://www.googleapis.com/discovery/v1/apis/customsearch/v1/resthttps://developers.google.com/custom-search/v1/using_rest
29Google Cloud Datastore APIdatastorev1beta1https://www.googleapis.com/discovery/v1/apis/datastore/v1beta1/resthttps://developers.google.com/datastore/
30Google Cloud Datastore APIdatastorev1beta2https://www.googleapis.com/discovery/v1/apis/datastore/v1beta2/resthttps://developers.google.com/datastore/
31DFA Reporting APIdfareportingv1https://www.googleapis.com/discovery/v1/apis/dfareporting/v1/resthttps://developers.google.com/doubleclick-advertisers/reporting/
32DFA Reporting APIdfareportingv1.1https://www.googleapis.com/discovery/v1/apis/dfareporting/v1.1/resthttps://developers.google.com/doubleclick-advertisers/reporting/
33DFA Reporting APIdfareportingv1.2https://www.googleapis.com/discovery/v1/apis/dfareporting/v1.2/resthttps://developers.google.com/doubleclick-advertisers/reporting/
34DFA Reporting APIdfareportingv1.3https://www.googleapis.com/discovery/v1/apis/dfareporting/v1.3/resthttps://developers.google.com/doubleclick-advertisers/reporting/
35APIs Discovery Servicediscoveryv1https://www.googleapis.com/discovery/v1/apis/discovery/v1/resthttps://developers.google.com/discovery/
36Google Cloud DNS APIdnsv1beta1https://www.googleapis.com/discovery/v1/apis/dns/v1beta1/resthttps://developers.google.com/cloud-dns
37DoubleClick Bid Manager APIdoubleclickbidmanagerv1https://www.googleapis.com/discovery/v1/apis/doubleclickbidmanager/v1/resthttps://developers.google.com/bid-manager/
38DoubleClick Search APIdoubleclicksearchv2https://www.googleapis.com/discovery/v1/apis/doubleclicksearch/v2/resthttps://developers.google.com/doubleclick-search/
39Drive APIdrivev1https://www.googleapis.com/discovery/v1/apis/drive/v1/resthttps://developers.google.com/drive/
40Drive APIdrivev2https://www.googleapis.com/discovery/v1/apis/drive/v2/resthttps://developers.google.com/drive/
41Freebase Searchfreebasev1-sandboxhttps://www.googleapis.com/discovery/v1/apis/freebase/v1-sandbox/resthttps://developers.google.com/freebase/
42Freebase Searchfreebasev1sandboxhttps://www.googleapis.com/discovery/v1/apis/freebase/v1sandbox/resthttps://developers.google.com/freebase/
43Freebase Searchfreebasev1https://www.googleapis.com/discovery/v1/apis/freebase/v1/resthttps://developers.google.com/freebase/
44Fusion Tables APIfusiontablesv1https://www.googleapis.com/discovery/v1/apis/fusiontables/v1/resthttps://developers.google.com/fusiontables
45Google Play Game Services APIgamesv1https://www.googleapis.com/discovery/v1/apis/games/v1/resthttps://developers.google.com/games/services/
46Google Play Game Services Management APIgamesManagementv1managementhttps://www.googleapis.com/discovery/v1/apis/gamesManagement/v1management/resthttps://developers.google.com/games/services
47Google Affiliate Network APIganv1beta1https://www.googleapis.com/discovery/v1/apis/gan/v1beta1/resthttps://developers.google.com/affiliate-network/
48Genomics APIgenomicsv1betahttps://www.googleapis.com/discovery/v1/apis/genomics/v1beta/resthttps://developers.google.com/genomics/v1beta/reference
49Groups Migration APIgroupsmigrationv1https://www.googleapis.com/discovery/v1/apis/groupsmigration/v1/resthttps://developers.google.com/google-apps/groups-migration/
50Groups Settings APIgroupssettingsv1https://www.googleapis.com/discovery/v1/apis/groupssettings/v1/resthttps://developers.google.com/google-apps/groups-settings/get_started
51Google Identity Toolkit APIidentitytoolkitv3https://www.googleapis.com/discovery/v1/apis/identitytoolkit/v3/resthttps://developers.google.com/identity-toolkit/v3/
52Enterprise License Manager APIlicensingv1https://www.googleapis.com/discovery/v1/apis/licensing/v1/resthttps://developers.google.com/google-apps/licensing/
53Deployment Manager APImanagerv1beta2https://www.googleapis.com/discovery/v1/apis/manager/v1beta2/resthttps://developers.google.com/deployment-manager/
54Google Maps Engine APImapsenginev1https://www.googleapis.com/discovery/v1/apis/mapsengine/v1/resthttps://developers.google.com/maps-engine/
55Google Mirror APImirrorv1https://www.googleapis.com/discovery/v1/apis/mirror/v1/resthttps://developers.google.com/glass
56Google OAuth2 APIoauth2v1https://www.googleapis.com/discovery/v1/apis/oauth2/v1/resthttps://developers.google.com/accounts/docs/OAuth2
57Google OAuth2 APIoauth2v2https://www.googleapis.com/discovery/v1/apis/oauth2/v2/resthttps://developers.google.com/accounts/docs/OAuth2
58Orkut APIorkutv2https://www.googleapis.com/discovery/v1/apis/orkut/v2/resthttp://code.google.com/apis/orkut/v2/reference.html
59PageSpeed Insights APIpagespeedonlinev1https://www.googleapis.com/discovery/v1/apis/pagespeedonline/v1/resthttps://developers.google.com/speed/docs/insights/v1/getting_started
60Google+ APIplusv1https://www.googleapis.com/discovery/v1/apis/plus/v1/resthttps://developers.google.com/+/api/
61Google+ Domains APIplusDomainsv1https://www.googleapis.com/discovery/v1/apis/plusDomains/v1/resthttps://developers.google.com/+/domains/
62Prediction APIpredictionv1.2https://www.googleapis.com/discovery/v1/apis/prediction/v1.2/resthttps://developers.google.com/prediction/docs/developer-guide
63Prediction APIpredictionv1.3https://www.googleapis.com/discovery/v1/apis/prediction/v1.3/resthttps://developers.google.com/prediction/docs/developer-guide
64Prediction APIpredictionv1.4https://www.googleapis.com/discovery/v1/apis/prediction/v1.4/resthttps://developers.google.com/prediction/docs/developer-guide
65Prediction APIpredictionv1.5https://www.googleapis.com/discovery/v1/apis/prediction/v1.5/resthttps://developers.google.com/prediction/docs/developer-guide
66Prediction APIpredictionv1.6https://www.googleapis.com/discovery/v1/apis/prediction/v1.6/resthttps://developers.google.com/prediction/docs/developer-guide
67QPX Express APIqpxExpressv1https://www.googleapis.com/discovery/v1/apis/qpxExpress/v1/resthttp://developers.google.com/qpx-express
68Replica Pool APIreplicapoolv1beta1https://www.googleapis.com/discovery/v1/apis/replicapool/v1beta1/resthttps://developers.google.com/compute/docs/replica-pool/
69Enterprise Apps Reseller APIresellerv1sandboxhttps://www.googleapis.com/discovery/v1/apis/reseller/v1sandbox/resthttps://developers.google.com/google-apps/reseller/
70Enterprise Apps Reseller APIresellerv1https://www.googleapis.com/discovery/v1/apis/reseller/v1/resthttps://developers.google.com/google-apps/reseller/
71Cloud Resource Group APIresourceviewsv1beta1https://www.googleapis.com/discovery/v1/apis/resourceviews/v1beta1/resthttp://code.google.com/apis/cloud/resourceviews/v1/using_rest.html
72Google Site Verification APIsiteVerificationv1https://www.googleapis.com/discovery/v1/apis/siteVerification/v1/resthttps://developers.google.com/site-verification/
73Google Spectrum Database APIspectrumv1explorerhttps://www.googleapis.com/discovery/v1/apis/spectrum/v1explorer/resthttp://developers.google.com/spectrum
74Cloud SQL Administration APIsqladminv1beta1https://www.googleapis.com/discovery/v1/apis/sqladmin/v1beta1/resthttps://developers.google.com/cloud-sql/docs/admin-api/
75Cloud SQL Administration APIsqladminv1beta3https://www.googleapis.com/discovery/v1/apis/sqladmin/v1beta3/resthttps://developers.google.com/cloud-sql/docs/admin-api/
76Cloud Storage APIstoragev1https://www.googleapis.com/discovery/v1/apis/storage/v1/resthttps://developers.google.com/storage/docs/json_api/
77Cloud Storage APIstoragev1beta1https://www.googleapis.com/discovery/v1/apis/storage/v1beta1/resthttps://developers.google.com/storage/docs/json_api/
78Cloud Storage APIstoragev1beta2https://www.googleapis.com/discovery/v1/apis/storage/v1beta2/resthttps://developers.google.com/storage/docs/json_api/
79TaskQueue APItaskqueuev1beta1https://www.googleapis.com/discovery/v1/apis/taskqueue/v1beta1/resthttps://developers.google.com/appengine/docs/python/taskqueue/rest
80TaskQueue APItaskqueuev1beta2https://www.googleapis.com/discovery/v1/apis/taskqueue/v1beta2/resthttps://developers.google.com/appengine/docs/python/taskqueue/rest
81Tasks APItasksv1https://www.googleapis.com/discovery/v1/apis/tasks/v1/resthttps://developers.google.com/google-apps/tasks/firstapp
82Translate APItranslatev2https://www.googleapis.com/discovery/v1/apis/translate/v2/resthttps://developers.google.com/translate/v2/using_rest
83URL Shortener APIurlshortenerv1https://www.googleapis.com/discovery/v1/apis/urlshortener/v1/resthttp://code.google.com/apis/urlshortener/v1/getting_started.html
84Google Fonts Developer APIwebfontsv1https://www.googleapis.com/discovery/v1/apis/webfonts/v1/resthttps://developers.google.com/fonts/docs/developer_api
85YouTube Data APIyoutubev3https://www.googleapis.com/discovery/v1/apis/youtube/v3/resthttps://developers.google.com/youtube/v3
86YouTube Analytics APIyoutubeAnalyticsv1https://www.googleapis.com/discovery/v1/apis/youtubeAnalytics/v1/resthttp://developers.google.com/youtube/analytics/
87YouTube Analytics APIyoutubeAnalyticsv1beta1https://www.googleapis.com/discovery/v1/apis/youtubeAnalytics/v1beta1/resthttp://developers.google.com/youtube/analytics/