0.0
No commit activity in last 3 years
No release in over 3 years
Full client including authentication for GoToWebinar API V1
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.1, >= 2.1.4
~> 10.0
~> 3.6
~> 3.0

Runtime

~> 1.4, >= 1.4.4
~> 4.0
 Project Readme

GoToWebinar

A ruby client to connect GoToWebinar API V1. Will handle the complete OAuth lifecycle as well utilizing Redis and the OAuth2 gems.

Caution

This gem is still under active development and may become unstable version to version with no promises of backward compatibility, the objective is to reach some semblence of reliability by v0.5.x -- in the interim, if you find a version that works for you, strictly specify that version in your gem file.

During this period of development, documentation and testing will be minimal and or non-existant.

Installation

Add this line to your application's Gemfile:

gem 'go_to_webinar'

And then execute:

$ bundle

Or install it yourself as:

$ gem install go_to_webinar

Usage

Rails

config/initializers/go_to_webinar.rb

GoToWebinar.setup do |g2w|
  g2w.organizer_key = ENV['G2W_ORGANIZER_KEY']
  g2w.access_token = ENV['G2W_ACCESS_TOKEN']
end

GoToWebinar::Auth.setup do |oauth2|
  oauth2.redis_url = ENV['REDISCLOUD_URL']
  oauth2.consumer_key = ENV['G2W_CONSUMER_KEY']
  oauth2.secret_key = ENV['G2W_SECRET_KEY']
  oauth2.basic_auth_username = ENV['G2W_BASIC_AUTH_USERNAME']
  oauth2.basic_auth_password = ENV['G2W_BASIC_AUTH_PASSWORD']
end

Authentication Strategy

This gem will use your username and password to handle all OAuth authentication with GoToWebinar using a basic auth strategy. This does require use of the GoToWebinar log in credentials. It is advised you fully read and understand the different OAuth Flows and use the best one for your situation: https://auth0.com/docs/api-auth/which-oauth-flow-to-use

Contributing

The repository maintainer only intends to add the functionality necessary for the maintainers need, this may not include all functionality or support all API of GoToWebinar. If you would like to contribute, pull requests are welcome.

Bug reports and pull requests are welcome on GitHub at https://github.com/RecruitiFi/go_to_webinar.

License

The gem is available as open source under the terms of the MIT License.