List of google calendar methods ruby ​​client

This is my code:

@token = @auth["credentials"]["token"] client = Google::APIClient.new client.authorization.access_token = @token service = client.discovered_api('calendar', 'v3') @result = client.execute( :api_method => service.calendar_list.list, :parameters => {}, :headers => {'Content-Type' => 'application/json'}) 

My question is: where can I find the list : api_method for google calendar API?

+4
source share
2 answers

You have the full link on this page: https://developers.google.com/google-apps/calendar/v3/reference/?hl=pt-PT

If you want to list calendars, for example, you click on the list method in the CalendarList section. There you will find explanations, arguments, answers, and code examples for ruby.

+3
source

FOR A RUBINIAN CUSTOMER THAT IS STRONGLY AT THIS ADDRESS: http://www.rubydoc.info/github/google/google-api-ruby-client/Google/Apis/CalendarV3/

I had the same problem when I was looking for additional information about api methods. Google seems to only pick up its documents, not ruby ​​specific ones.

+1
source

Source: https://habr.com/ru/post/1482722/


All Articles