Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
Andrea Spacca 82493d6dcb add GDrive provider support (#118) il y a 6 ans
..
abusiveexperiencereport/v1 add GDrive provider support (#118) il y a 6 ans
acceleratedmobilepageurl/v1 add GDrive provider support (#118) il y a 6 ans
adexchangebuyer add GDrive provider support (#118) il y a 6 ans
adexchangebuyer2/v2beta1 add GDrive provider support (#118) il y a 6 ans
adexchangeseller add GDrive provider support (#118) il y a 6 ans
adexperiencereport/v1 add GDrive provider support (#118) il y a 6 ans
admin add GDrive provider support (#118) il y a 6 ans
adsense add GDrive provider support (#118) il y a 6 ans
adsensehost/v4.1 add GDrive provider support (#118) il y a 6 ans
analytics add GDrive provider support (#118) il y a 6 ans
analyticsreporting/v4 add GDrive provider support (#118) il y a 6 ans
androiddeviceprovisioning/v1 add GDrive provider support (#118) il y a 6 ans
androidenterprise/v1 add GDrive provider support (#118) il y a 6 ans
androidmanagement/v1 add GDrive provider support (#118) il y a 6 ans
androidpublisher add GDrive provider support (#118) il y a 6 ans
appengine add GDrive provider support (#118) il y a 6 ans
appsactivity/v1 add GDrive provider support (#118) il y a 6 ans
appstate/v1 add GDrive provider support (#118) il y a 6 ans
bigquery/v2 add GDrive provider support (#118) il y a 6 ans
bigquerydatatransfer/v1 add GDrive provider support (#118) il y a 6 ans
blogger add GDrive provider support (#118) il y a 6 ans
books/v1 add GDrive provider support (#118) il y a 6 ans
calendar/v3 add GDrive provider support (#118) il y a 6 ans
chat/v1 add GDrive provider support (#118) il y a 6 ans
civicinfo/v2 add GDrive provider support (#118) il y a 6 ans
classroom/v1 add GDrive provider support (#118) il y a 6 ans
cloudbilling/v1 add GDrive provider support (#118) il y a 6 ans
cloudbuild/v1 add GDrive provider support (#118) il y a 6 ans
clouddebugger/v2 add GDrive provider support (#118) il y a 6 ans
clouderrorreporting/v1beta1 add GDrive provider support (#118) il y a 6 ans
cloudfunctions add GDrive provider support (#118) il y a 6 ans
cloudiot add GDrive provider support (#118) il y a 6 ans
cloudkms/v1 add GDrive provider support (#118) il y a 6 ans
cloudmonitoring/v2beta2 add GDrive provider support (#118) il y a 6 ans
cloudresourcemanager add GDrive provider support (#118) il y a 6 ans
cloudshell add GDrive provider support (#118) il y a 6 ans
cloudtasks/v2beta2 add GDrive provider support (#118) il y a 6 ans
cloudtrace add GDrive provider support (#118) il y a 6 ans
clouduseraccounts add GDrive provider support (#118) il y a 6 ans
composer/v1beta1 add GDrive provider support (#118) il y a 6 ans
compute add GDrive provider support (#118) il y a 6 ans
consumersurveys/v2 add GDrive provider support (#118) il y a 6 ans
container add GDrive provider support (#118) il y a 6 ans
content add GDrive provider support (#118) il y a 6 ans
customsearch/v1 add GDrive provider support (#118) il y a 6 ans
dataflow/v1b3 add GDrive provider support (#118) il y a 6 ans
dataproc add GDrive provider support (#118) il y a 6 ans
datastore add GDrive provider support (#118) il y a 6 ans
deploymentmanager add GDrive provider support (#118) il y a 6 ans
dfareporting add GDrive provider support (#118) il y a 6 ans
dialogflow add GDrive provider support (#118) il y a 6 ans
digitalassetlinks/v1 add GDrive provider support (#118) il y a 6 ans
discovery/v1 add GDrive provider support (#118) il y a 6 ans
dlp add GDrive provider support (#118) il y a 6 ans
dns add GDrive provider support (#118) il y a 6 ans
doubleclickbidmanager/v1 add GDrive provider support (#118) il y a 6 ans
doubleclicksearch/v2 add GDrive provider support (#118) il y a 6 ans
drive add GDrive provider support (#118) il y a 6 ans
examples add GDrive provider support (#118) il y a 6 ans
firebasedynamiclinks/v1 add GDrive provider support (#118) il y a 6 ans
firebaseremoteconfig/v1 add GDrive provider support (#118) il y a 6 ans
firebaserules/v1 add GDrive provider support (#118) il y a 6 ans
firestore/v1beta1 add GDrive provider support (#118) il y a 6 ans
fitness/v1 add GDrive provider support (#118) il y a 6 ans
fusiontables add GDrive provider support (#118) il y a 6 ans
games/v1 add GDrive provider support (#118) il y a 6 ans
gamesconfiguration/v1configuration add GDrive provider support (#118) il y a 6 ans
gamesmanagement/v1management add GDrive provider support (#118) il y a 6 ans
genomics add GDrive provider support (#118) il y a 6 ans
gensupport add GDrive provider support (#118) il y a 6 ans
gmail/v1 add GDrive provider support (#118) il y a 6 ans
google-api-go-generator add GDrive provider support (#118) il y a 6 ans
googleapi add GDrive provider support (#118) il y a 6 ans
groupsmigration/v1 add GDrive provider support (#118) il y a 6 ans
groupssettings/v1 add GDrive provider support (#118) il y a 6 ans
iam/v1 add GDrive provider support (#118) il y a 6 ans
iamcredentials/v1 add GDrive provider support (#118) il y a 6 ans
identitytoolkit/v3 add GDrive provider support (#118) il y a 6 ans
integration-tests/storage add GDrive provider support (#118) il y a 6 ans
internal add GDrive provider support (#118) il y a 6 ans
iterator add GDrive provider support (#118) il y a 6 ans
jobs/v2 add GDrive provider support (#118) il y a 6 ans
kgsearch/v1 add GDrive provider support (#118) il y a 6 ans
language add GDrive provider support (#118) il y a 6 ans
lib/codereview add GDrive provider support (#118) il y a 6 ans
licensing/v1 add GDrive provider support (#118) il y a 6 ans
logging add GDrive provider support (#118) il y a 6 ans
manufacturers/v1 add GDrive provider support (#118) il y a 6 ans
mirror/v1 add GDrive provider support (#118) il y a 6 ans
ml/v1 add GDrive provider support (#118) il y a 6 ans
monitoring/v3 add GDrive provider support (#118) il y a 6 ans
oauth2 add GDrive provider support (#118) il y a 6 ans
option add GDrive provider support (#118) il y a 6 ans
oslogin add GDrive provider support (#118) il y a 6 ans
pagespeedonline add GDrive provider support (#118) il y a 6 ans
partners/v2 add GDrive provider support (#118) il y a 6 ans
people/v1 add GDrive provider support (#118) il y a 6 ans
photoslibrary/v1 add GDrive provider support (#118) il y a 6 ans
playcustomapp/v1 add GDrive provider support (#118) il y a 6 ans
playmoviespartner/v1 add GDrive provider support (#118) il y a 6 ans
plus/v1 add GDrive provider support (#118) il y a 6 ans
plusdomains/v1 add GDrive provider support (#118) il y a 6 ans
poly/v1 add GDrive provider support (#118) il y a 6 ans
prediction add GDrive provider support (#118) il y a 6 ans
proximitybeacon/v1beta1 add GDrive provider support (#118) il y a 6 ans
pubsub add GDrive provider support (#118) il y a 6 ans
qpxexpress/v1 add GDrive provider support (#118) il y a 6 ans
redis/v1beta1 add GDrive provider support (#118) il y a 6 ans
replicapool add GDrive provider support (#118) il y a 6 ans
replicapoolupdater/v1beta1 add GDrive provider support (#118) il y a 6 ans
reseller/v1 add GDrive provider support (#118) il y a 6 ans
resourceviews add GDrive provider support (#118) il y a 6 ans
runtimeconfig add GDrive provider support (#118) il y a 6 ans
safebrowsing/v4 add GDrive provider support (#118) il y a 6 ans
script/v1 add GDrive provider support (#118) il y a 6 ans
searchconsole/v1 add GDrive provider support (#118) il y a 6 ans
servicebroker add GDrive provider support (#118) il y a 6 ans
serviceconsumermanagement/v1 add GDrive provider support (#118) il y a 6 ans
servicecontrol/v1 add GDrive provider support (#118) il y a 6 ans
servicemanagement/v1 add GDrive provider support (#118) il y a 6 ans
serviceusage add GDrive provider support (#118) il y a 6 ans
serviceuser/v1 add GDrive provider support (#118) il y a 6 ans
sheets/v4 add GDrive provider support (#118) il y a 6 ans
siteverification/v1 add GDrive provider support (#118) il y a 6 ans
slides/v1 add GDrive provider support (#118) il y a 6 ans
sourcerepo/v1 add GDrive provider support (#118) il y a 6 ans
spanner/v1 add GDrive provider support (#118) il y a 6 ans
spectrum/v1explorer add GDrive provider support (#118) il y a 6 ans
speech add GDrive provider support (#118) il y a 6 ans
sqladmin add GDrive provider support (#118) il y a 6 ans
storage add GDrive provider support (#118) il y a 6 ans
storagetransfer/v1 add GDrive provider support (#118) il y a 6 ans
streetviewpublish/v1 add GDrive provider support (#118) il y a 6 ans
support/bundler add GDrive provider support (#118) il y a 6 ans
surveys/v2 add GDrive provider support (#118) il y a 6 ans
tagmanager add GDrive provider support (#118) il y a 6 ans
taskqueue add GDrive provider support (#118) il y a 6 ans
tasks/v1 add GDrive provider support (#118) il y a 6 ans
testing/v1 add GDrive provider support (#118) il y a 6 ans
texttospeech/v1beta1 add GDrive provider support (#118) il y a 6 ans
toolresults add GDrive provider support (#118) il y a 6 ans
tpu add GDrive provider support (#118) il y a 6 ans
tracing/v2 add GDrive provider support (#118) il y a 6 ans
translate/v2 add GDrive provider support (#118) il y a 6 ans
transport add GDrive provider support (#118) il y a 6 ans
urlshortener/v1 add GDrive provider support (#118) il y a 6 ans
vault/v1 add GDrive provider support (#118) il y a 6 ans
videointelligence add GDrive provider support (#118) il y a 6 ans
vision add GDrive provider support (#118) il y a 6 ans
webfonts/v1 add GDrive provider support (#118) il y a 6 ans
webmasters/v3 add GDrive provider support (#118) il y a 6 ans
websecurityscanner/v1alpha add GDrive provider support (#118) il y a 6 ans
youtube/v3 add GDrive provider support (#118) il y a 6 ans
youtubeanalytics add GDrive provider support (#118) il y a 6 ans
youtubereporting/v1 add GDrive provider support (#118) il y a 6 ans
.gitignore add GDrive provider support (#118) il y a 6 ans
.hgtags add GDrive provider support (#118) il y a 6 ans
.travis.yml add GDrive provider support (#118) il y a 6 ans
AUTHORS add GDrive provider support (#118) il y a 6 ans
CONTRIBUTING.md add GDrive provider support (#118) il y a 6 ans
CONTRIBUTORS add GDrive provider support (#118) il y a 6 ans
GettingStarted.md add GDrive provider support (#118) il y a 6 ans
LICENSE add GDrive provider support (#118) il y a 6 ans
NOTES add GDrive provider support (#118) il y a 6 ans
README.md add GDrive provider support (#118) il y a 6 ans
TODO add GDrive provider support (#118) il y a 6 ans
api-list.json add GDrive provider support (#118) il y a 6 ans
key.json.enc add GDrive provider support (#118) il y a 6 ans

README.md

Google APIs Client Library for Go

Getting Started

$ go get google.golang.org/api/tasks/v1
$ go get google.golang.org/api/moderator/v1
$ go get google.golang.org/api/urlshortener/v1
... etc ...

and using:

package main

import (
	"net/http"

	"google.golang.org/api/urlshortener/v1"
)

func main() {
	svc, err := urlshortener.New(http.DefaultClient)
	// ...
}

Status

Build Status GoDoc

These are auto-generated Go libraries from the Google Discovery Service’s JSON description files of the available “new style” Google APIs.

Due to the auto-generated nature of this collection of libraries, complete APIs or specific versions can appear or go away without notice. As a result, you should always locally vendor any API(s) that your code relies upon.

These client libraries are officially supported by Google. However, the libraries are considered complete and are in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features.

If you’re working with Google Cloud Platform APIs such as Datastore or Pub/Sub, consider using the Cloud Client Libraries for Go instead. These are the new and idiomatic Go libraries targeted specifically at Google Cloud Platform Services.

The generator itself and the code it produces are beta. Some APIs are alpha/beta, and indicated as such in the import path (e.g., “google.golang.org/api/someapi/v1alpha”).

Application Default Credentials Example

Application Default Credentials provide a simplified way to obtain credentials for authenticating with Google APIs.

The Application Default Credentials authenticate as the application itself, which make them great for working with Google Cloud APIs like Storage or Datastore. They are the recommended form of authentication when building applications that run on Google Compute Engine or Google App Engine.

Default credentials are provided by the golang.org/x/oauth2/google package. To use them, add the following import:

import "golang.org/x/oauth2/google"

Some credentials types require you to specify scopes, and service entry points may not inject them. If you encounter this situation you may need to specify scopes as follows:

import (
        "golang.org/x/net/context"
        "golang.org/x/oauth2/google"
        "google.golang.org/api/compute/v1"
)

func main() {
        // Use oauth2.NoContext if there isn't a good context to pass in.
        ctx := context.Background()

        client, err := google.DefaultClient(ctx, compute.ComputeScope)
        if err != nil {
                //...
        }
        computeService, err := compute.New(client)
        if err != nil {
                //...
        }
}

If you need a oauth2.TokenSource, use the DefaultTokenSource function:

ts, err := google.DefaultTokenSource(ctx, scope1, scope2, ...)
if err != nil {
        //...
}
client := oauth2.NewClient(ctx, ts)

See also: golang.org/x/oauth2/google package documentation.