0.0
No commit activity in last 3 years
No release in over 3 years
Allows fetching and parsing WebEx events through the WebEx API. Events can be queried and converted into JSON.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
>= 0

Runtime

 Project Readme

WebEx::Events

Gem Version Build Status Code Climate

A library to read WebEx events through the WebEx API.

Tested against Ruby 2.0.0, 2.1.0, 2.1.1.

Installation

Add this line to your application's Gemfile:

gem 'web-ex-events'

And then execute:

$ bundle

Or install it yourself as:

$ gem install web-ex-events

Usage

require 'web_ex/events'

# Set WebEx site name
ENV['WEB_EX_SITE_NAME'] = "…"

# WebEx Site and Partner ID (available through WebEx support request)
ENV['WEB_EX_SITE_ID'] = "…"
ENV['WEB_EX_PARTNER_ID'] = "…"

# Your WebEx credentials
ENV['WEB_EX_USERNAME'] = "…"
ENV['WEB_EX_PASSWORD'] = "…"

next_30_days = 30 * 24 * 60 * 60
events = WebEx::Events::Event.fetch(next_30_days)

# Print event details
events.each do |event|
  puts event.name
  puts event.start_date
  puts "#{event.duration} mins"
  puts event.description
end

# Print all events as JSON
puts events.to_json

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request