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 ec086b4eb3 Bump google.golang.org/api il y a 5 ans
..
abusiveexperiencereport/v1 Bump google.golang.org/api il y a 5 ans
acceleratedmobilepageurl/v1 Bump google.golang.org/api il y a 5 ans
accesscontextmanager Bump google.golang.org/api il y a 5 ans
adexchangebuyer Bump google.golang.org/api il y a 5 ans
adexchangebuyer2/v2beta1 Bump google.golang.org/api il y a 5 ans
adexchangeseller Bump google.golang.org/api il y a 5 ans
adexperiencereport/v1 Bump google.golang.org/api il y a 5 ans
admin Bump google.golang.org/api il y a 5 ans
adsense Bump google.golang.org/api il y a 5 ans
adsensehost/v4.1 Bump google.golang.org/api il y a 5 ans
alertcenter/v1beta1 Bump google.golang.org/api il y a 5 ans
analytics Bump google.golang.org/api il y a 5 ans
analyticsreporting/v4 Bump google.golang.org/api il y a 5 ans
androiddeviceprovisioning/v1 Bump google.golang.org/api il y a 5 ans
androidenterprise/v1 Bump google.golang.org/api il y a 5 ans
androidmanagement/v1 Bump google.golang.org/api il y a 5 ans
androidpublisher Bump google.golang.org/api il y a 5 ans
appengine Bump google.golang.org/api il y a 5 ans
appsactivity/v1 Bump google.golang.org/api il y a 5 ans
appstate/v1 Bump google.golang.org/api il y a 5 ans
bigquery/v2 Bump google.golang.org/api il y a 5 ans
bigquerydatatransfer/v1 Bump google.golang.org/api il y a 5 ans
bigtableadmin Bump google.golang.org/api il y a 5 ans
binaryauthorization/v1beta1 Bump google.golang.org/api il y a 5 ans
blogger Bump google.golang.org/api il y a 5 ans
books/v1 Bump google.golang.org/api il y a 5 ans
calendar/v3 Bump google.golang.org/api il y a 5 ans
chat/v1 Bump google.golang.org/api il y a 5 ans
civicinfo/v2 Bump google.golang.org/api il y a 5 ans
classroom/v1 Bump google.golang.org/api il y a 5 ans
cloudasset/v1beta1 Bump google.golang.org/api il y a 5 ans
cloudbilling/v1 Bump google.golang.org/api il y a 5 ans
cloudbuild Bump google.golang.org/api il y a 5 ans
clouddebugger/v2 Bump google.golang.org/api il y a 5 ans
clouderrorreporting/v1beta1 Bump google.golang.org/api il y a 5 ans
cloudfunctions Bump google.golang.org/api il y a 5 ans
cloudidentity Bump google.golang.org/api il y a 5 ans
cloudiot/v1 Bump google.golang.org/api il y a 5 ans
cloudkms/v1 Bump google.golang.org/api il y a 5 ans
cloudprivatecatalog/v1beta1 Bump google.golang.org/api il y a 5 ans
cloudprivatecatalogproducer/v1beta1 Bump google.golang.org/api il y a 5 ans
cloudprofiler/v2 Bump google.golang.org/api il y a 5 ans
cloudresourcemanager Bump google.golang.org/api il y a 5 ans
cloudscheduler/v1beta1 Bump google.golang.org/api il y a 5 ans
cloudsearch/v1 Bump google.golang.org/api il y a 5 ans
cloudshell Bump google.golang.org/api il y a 5 ans
cloudtasks Bump google.golang.org/api il y a 5 ans
cloudtrace Bump google.golang.org/api il y a 5 ans
composer Bump google.golang.org/api il y a 5 ans
compute Bump google.golang.org/api il y a 5 ans
consumersurveys/v2 Bump google.golang.org/api il y a 5 ans
container Bump google.golang.org/api il y a 5 ans
containeranalysis Bump google.golang.org/api il y a 5 ans
content Bump google.golang.org/api il y a 5 ans
customsearch/v1 Bump google.golang.org/api il y a 5 ans
dataflow/v1b3 Bump google.golang.org/api il y a 5 ans
dataproc Bump google.golang.org/api il y a 5 ans
datastore Bump google.golang.org/api il y a 5 ans
deploymentmanager Bump google.golang.org/api il y a 5 ans
dfareporting Bump google.golang.org/api il y a 5 ans
dialogflow Bump google.golang.org/api il y a 5 ans
digitalassetlinks/v1 Bump google.golang.org/api il y a 5 ans
discovery/v1 Bump google.golang.org/api il y a 5 ans
dlp/v2 Bump google.golang.org/api il y a 5 ans
dns Bump google.golang.org/api il y a 5 ans
docs/v1 Bump google.golang.org/api il y a 5 ans
doubleclickbidmanager/v1 Bump google.golang.org/api il y a 5 ans
doubleclicksearch/v2 Bump google.golang.org/api il y a 5 ans
drive Bump google.golang.org/api il y a 5 ans
driveactivity/v2 Bump google.golang.org/api il y a 5 ans
examples Bump google.golang.org/api il y a 5 ans
file Bump google.golang.org/api il y a 5 ans
firebasedynamiclinks/v1 Bump google.golang.org/api il y a 5 ans
firebasehosting/v1beta1 Bump google.golang.org/api il y a 5 ans
firebaseremoteconfig/v1 Bump google.golang.org/api il y a 5 ans
firebaserules/v1 Bump google.golang.org/api il y a 5 ans
firestore Bump google.golang.org/api il y a 5 ans
fitness/v1 Bump google.golang.org/api il y a 5 ans
fusiontables Bump google.golang.org/api il y a 5 ans
games/v1 Bump google.golang.org/api il y a 5 ans
gamesconfiguration/v1configuration Bump google.golang.org/api il y a 5 ans
gamesmanagement/v1management Bump google.golang.org/api il y a 5 ans
genomics Bump google.golang.org/api il y a 5 ans
gensupport Bump google.golang.org/api il y a 5 ans
gmail/v1 Bump google.golang.org/api il y a 5 ans
google-api-go-generator Bump google.golang.org/api il y a 5 ans
googleapi Bump google.golang.org/api il y a 5 ans
groupsmigration/v1 Bump google.golang.org/api il y a 5 ans
groupssettings/v1 Bump google.golang.org/api il y a 5 ans
healthcare Bump google.golang.org/api il y a 5 ans
iam/v1 Bump google.golang.org/api il y a 5 ans
iamcredentials/v1 Bump google.golang.org/api il y a 5 ans
iap Bump google.golang.org/api il y a 5 ans
identitytoolkit/v3 Bump google.golang.org/api il y a 5 ans
indexing/v3 Bump google.golang.org/api il y a 5 ans
integration-tests/storage Bump google.golang.org/api il y a 5 ans
internal Bump google.golang.org/api il y a 5 ans
iterator Bump google.golang.org/api il y a 5 ans
jobs Bump google.golang.org/api il y a 5 ans
kgsearch/v1 Bump google.golang.org/api il y a 5 ans
language Bump google.golang.org/api il y a 5 ans
lib/codereview add GDrive provider support (#118) il y a 6 ans
libraryagent/v1 Bump google.golang.org/api il y a 5 ans
licensing/v1 Bump google.golang.org/api il y a 5 ans
logging Bump google.golang.org/api il y a 5 ans
manufacturers/v1 Bump google.golang.org/api il y a 5 ans
mirror/v1 Bump google.golang.org/api il y a 5 ans
ml/v1 Bump google.golang.org/api il y a 5 ans
monitoring Bump google.golang.org/api il y a 5 ans
oauth2 Bump google.golang.org/api il y a 5 ans
option Bump google.golang.org/api il y a 5 ans
oslogin Bump google.golang.org/api il y a 5 ans
pagespeedonline Bump google.golang.org/api il y a 5 ans
partners/v2 Bump google.golang.org/api il y a 5 ans
people/v1 Bump google.golang.org/api il y a 5 ans
photoslibrary/v1 Bump google.golang.org/api il y a 5 ans
playcustomapp/v1 Bump google.golang.org/api il y a 5 ans
playmoviespartner/v1 Bump google.golang.org/api il y a 5 ans
plus/v1 Bump google.golang.org/api il y a 5 ans
plusdomains/v1 Bump google.golang.org/api il y a 5 ans
poly/v1 Bump google.golang.org/api il y a 5 ans
prediction Bump google.golang.org/api il y a 5 ans
proximitybeacon/v1beta1 Bump google.golang.org/api il y a 5 ans
pubsub Bump google.golang.org/api il y a 5 ans
qpxexpress/v1 Bump google.golang.org/api il y a 5 ans
redis Bump google.golang.org/api il y a 5 ans
remotebuildexecution Bump google.golang.org/api il y a 5 ans
replicapool/v1beta1 Bump google.golang.org/api il y a 5 ans
replicapoolupdater/v1beta1 Bump google.golang.org/api il y a 5 ans
reseller/v1 Bump google.golang.org/api il y a 5 ans
runtimeconfig Bump google.golang.org/api il y a 5 ans
safebrowsing/v4 Bump google.golang.org/api il y a 5 ans
script/v1 Bump google.golang.org/api il y a 5 ans
searchconsole/v1 Bump google.golang.org/api il y a 5 ans
servicebroker Bump google.golang.org/api il y a 5 ans
serviceconsumermanagement/v1 Bump google.golang.org/api il y a 5 ans
servicecontrol/v1 Bump google.golang.org/api il y a 5 ans
servicemanagement/v1 Bump google.golang.org/api il y a 5 ans
servicenetworking Bump google.golang.org/api il y a 5 ans
serviceusage Bump google.golang.org/api il y a 5 ans
serviceuser/v1 Bump google.golang.org/api il y a 5 ans
sheets/v4 Bump google.golang.org/api il y a 5 ans
siteverification/v1 Bump google.golang.org/api il y a 5 ans
slides/v1 Bump google.golang.org/api il y a 5 ans
sourcerepo/v1 Bump google.golang.org/api il y a 5 ans
spanner/v1 Bump google.golang.org/api il y a 5 ans
spectrum/v1explorer Bump google.golang.org/api il y a 5 ans
speech Bump google.golang.org/api il y a 5 ans
sqladmin/v1beta4 Bump google.golang.org/api il y a 5 ans
storage Bump google.golang.org/api il y a 5 ans
storagetransfer/v1 Bump google.golang.org/api il y a 5 ans
streetviewpublish/v1 Bump google.golang.org/api il y a 5 ans
support/bundler Bump google.golang.org/api il y a 5 ans
surveys/v2 Bump google.golang.org/api il y a 5 ans
tagmanager Bump google.golang.org/api il y a 5 ans
tasks/v1 Bump google.golang.org/api il y a 5 ans
testing/v1 Bump google.golang.org/api il y a 5 ans
texttospeech Bump google.golang.org/api il y a 5 ans
toolresults/v1beta3 Bump google.golang.org/api il y a 5 ans
tpu Bump google.golang.org/api il y a 5 ans
tracing/v2 Bump google.golang.org/api il y a 5 ans
translate/v2 Bump google.golang.org/api il y a 5 ans
transport Bump google.golang.org/api il y a 5 ans
urlshortener/v1 Bump google.golang.org/api il y a 5 ans
vault/v1 Bump google.golang.org/api il y a 5 ans
videointelligence Bump google.golang.org/api il y a 5 ans
vision Bump google.golang.org/api il y a 5 ans
webfonts/v1 Bump google.golang.org/api il y a 5 ans
webmasters/v3 Bump google.golang.org/api il y a 5 ans
websecurityscanner/v1alpha Bump google.golang.org/api il y a 5 ans
youtube/v3 Bump google.golang.org/api il y a 5 ans
youtubeanalytics Bump google.golang.org/api il y a 5 ans
youtubereporting/v1 Bump google.golang.org/api il y a 5 ans
.gitignore add GDrive provider support (#118) il y a 6 ans
.hgtags 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 Bump google.golang.org/api il y a 5 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 Bump google.golang.org/api il y a 5 ans
TODO add GDrive provider support (#118) il y a 6 ans
api-list.json Bump google.golang.org/api il y a 5 ans
doc.go Bump google.golang.org/api il y a 5 ans
go.mod Bump google.golang.org/api il y a 5 ans
go.sum Bump google.golang.org/api il y a 5 ans
key.json.enc add GDrive provider support (#118) il y a 6 ans
tools.go Bump google.golang.org/api il y a 5 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

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 (
        "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.