Project

five9

0.01
No commit activity in last 3 years
No release in over 3 years
Rubygem integration with five9 API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Five9

This RubyGem is a ruby integration for the five9 API. Currently, it is only partly integrated with the statistics and user management API. The end goal is to have a full integration.

Installation

Add this line to your application's Gemfile:

gem 'five9'

And then execute:

$ bundle

Or install it yourself as:

$ gem install five9

Usage

In order to use this you will have to have an active account with five9.

agent_stats = Five9::AgentStats.new("exampleuser","examplepassword")
agent_stats.setSessionParams(session={rolling_period: "Today", shift_start: 25200000, statistics_range: "CurrentDay", time_zone: -21600000}) #the numbers are in milliseconds.
agent_stats.getStatistics(["Total Calls","Avg Handle Time"]) #leave empty to return all stats.
puts agent_stats.stats
agent_stats.getStatisticsUpdate
puts agent_stats.stats

For more details check out Five9's API for more details.

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