All Projects → hintmedia → zoom_rb

hintmedia / zoom_rb

Licence: MIT license
Ruby API Wrapper for zoom.us API

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to zoom rb

PUBGSharp
C# wrapper for PUBG stats API
Stars: ✭ 24 (-55.56%)
Mutual labels:  api-wrapper
meetupr
R interface to the meetup.com API
Stars: ✭ 76 (+40.74%)
Mutual labels:  api-wrapper
COVID19Py
A tiny Python package for easy access to up-to-date Coronavirus (COVID-19, SARS-CoV-2) cases data.
Stars: ✭ 86 (+59.26%)
Mutual labels:  api-wrapper
flickr-objects
An object-oriented wrapper for the Flickr API.
Stars: ✭ 29 (-46.3%)
Mutual labels:  api-wrapper
discord.bat
🗑️ the BEST discord lib
Stars: ✭ 38 (-29.63%)
Mutual labels:  api-wrapper
Pyblox
An API wrapper for Roblox written in Python. (Receives Updates)
Stars: ✭ 30 (-44.44%)
Mutual labels:  api-wrapper
node-youtube-music
Unofficial YouTube Music API for Node.js
Stars: ✭ 34 (-37.04%)
Mutual labels:  api-wrapper
cablecuttr
An R wrapper for CanIStream.It API
Stars: ✭ 17 (-68.52%)
Mutual labels:  api-wrapper
Swiftfall
Wrapper for Scryfall API written in Swift
Stars: ✭ 21 (-61.11%)
Mutual labels:  api-wrapper
csharp-ovh
Thin wrapper around OVH's APIs. Handles all the hard work including credential creation and requests signing
Stars: ✭ 21 (-61.11%)
Mutual labels:  api-wrapper
nyxx
Wrapper around Discord API for Dart
Stars: ✭ 217 (+301.85%)
Mutual labels:  api-wrapper
pirant
devRant API wrapper in Python
Stars: ✭ 17 (-68.52%)
Mutual labels:  api-wrapper
hikari-lightbulb
The official unofficial command handler for the Python discord API wrapper library, Hikari.
Stars: ✭ 152 (+181.48%)
Mutual labels:  api-wrapper
Finance-Robinhood
Trade stocks and ETFs with free brokerage Robinhood and Perl
Stars: ✭ 42 (-22.22%)
Mutual labels:  api-wrapper
github-api-plugin
This plugin packages stock github-api library
Stars: ✭ 20 (-62.96%)
Mutual labels:  api-wrapper
ksoftapi.py
Official API Wrapper for KSoft.Si API
Stars: ✭ 31 (-42.59%)
Mutual labels:  api-wrapper
Vestaboard
An API Wrapper for Vestaboards written in Python
Stars: ✭ 23 (-57.41%)
Mutual labels:  api-wrapper
PSURLScanio
🔎 Use urlscan.io with PowerShell!
Stars: ✭ 31 (-42.59%)
Mutual labels:  api-wrapper
sleeper-api-wrapper
A Python wrapper for the Sleeper Fantasy Football API.
Stars: ✭ 41 (-24.07%)
Mutual labels:  api-wrapper
pymonzo
An - dare I say it - awesome Python Monzo public API wrapper.
Stars: ✭ 18 (-66.67%)
Mutual labels:  api-wrapper

zoom_rb CircleCI Maintainability Test Coverage

Ruby wrapper gem for zoom.us API (currently v2)

Installation

Add this line to your application's Gemfile:

gem 'zoom_rb'

And then execute:

$ bundle

Or install it yourself as:

$ gem install zoom_rb

Usage

The Zoom API uses OAuth or JWT to Authenticate API request. By default, a JWT client will be used.

Zoom.configure do |c|
  c.api_key = 'xxx'
  c.api_secret = 'xxx'
end

zoom_client = Zoom.new

To create an OAuth flow you need to make a call to auth, then create the client directly from an access token.

First you need to get an auth_code externally from:

https://zoom.us/oauth/authorize?response_type=code&client_id=7lstjKqdwjett_kwjwDSEQ&redirect_uri=https://yourapp.com

Which will result in a redirect to your app with code in the url params

then use this code to get an access token and a refresh token.

auth = Zoom::Client::OAuth.new(auth_code: auth_code, redirect_uri: redirect_uri, timeout: 15).auth

zoom_client = Zoom::Client::OAuth.new(access_token: auth['access_token'], timeout: 15)

You can also make a call to refresh with auth using an auth_token and a refresh_token

client = Zoom::Client::OAuth.new(auth_token: auth_token, refresh_token: refresh_token).auth

zoom_client = Zoom::Client::OAuth.new(access_token: 'xxx', timeout: 15)

With the zoom client, access the API

user_list = zoom_client.user_list
user_list['users'].each do |user|
  user_id = user['id']
  puts zoom_client.meeting_list(user_id: user_id)
end

begin
  user_list = zoom_client.user_list!
rescue Zoom::Error => exception
  puts 'Something went wrong'
end

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].