Questions tagged [google-api-go-client]

54 questions
0
votes
1 answer

Google Sheets API: golang BatchUpdateValuesRequest

I'm trying to follow the Google Sheets API quickstart here: https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/batchUpdate (scroll down to "Examples" then click "GO") This is how I tried to update a spreadsheet: package…
Albert Braden
  • 27
  • 3
  • 6
0
votes
1 answer

How to use Golang's github.com/google/google-api-go-client/customsearch/v1

I've done the Oauth callback from which people said it's not needed, and just needs the cx code but I have yet to figure out how to add the cx parameter to the call. package main import ( "fmt" "log" …
vinniyo
  • 787
  • 2
  • 8
  • 21
0
votes
2 answers

how to fetch youtube playlist videos using Go on app engine

Using Api key I was able to fetch the videos in a playlist from Api Explorer. Execute without OAuth fetched the results json. Here is the…
0
votes
1 answer

flag redefined - panic searching by key in YouTube data API 3

I am trying to search YouTube video by key like in the golang example. I modified that code a little to let it search by different keys several times. When I search once it is ok. func main() { result1, err1 := SearchYoutubeByKey("hello") …
Maxim Yefremov
  • 13,671
  • 27
  • 117
  • 166
0
votes
1 answer

Using google-api-go-client in golang to update InVideo Programming

I come from Tcl and I'm trying to move over to golang. I'm having a hard time grasping the entire structure of the youtube-api.json file, but my primary focus is making a call to Channels.Update("invideoPromotion") to add a annotation in the video.…
vinniyo
  • 787
  • 2
  • 8
  • 21
0
votes
1 answer

YouTube v3 api using code.google.com/p/google-api-go-client/youtube/v3

Trying to grab a list of uploads from my channel but I get the error "ChannelContentDetails has no field or method Uploads" apiCall := youtube.Channels.List("contentDetails").Mine(true) response, err := apiCall.Do() if err != nil { log.Fatalf("Error…
vinniyo
  • 787
  • 2
  • 8
  • 21
0
votes
2 answers

Server to server OAuth2

I'm trying to implement a Golang application for accessing Google Analytics data. but all the examples uses tokens that dies in one hour. In the api access i found a "Certificate access" that are designed to be used to access from servers, but i…
-1
votes
1 answer

YouTube Upload v3 - 400 Bad Request

I've noticed I get quite a bit of HTTP 400 faliures when trying to upload videos via: https://developers.google.com/youtube/v3/docs/videos/insert I am using the Go SDK from Google: code.google.com/p/google-api-go-client The thing that the failed…
if __name__ is None
  • 11,083
  • 17
  • 55
  • 71
1 2 3
4