Easy and comprehensive rubygem for Calendly. Currently supports API v2.
You just need a Personal Access Token.
No dependencies 🎉
We understand the importance of not adding unwanted dependencies.
Add this line to your application's Gemfile:
gem 'calendlyr', '0.7.5'
And then execute:
$ bundle
Or install it yourself as:
$ gem install calendlyr
To access the API, you'll need to create a Calendlyr::Client
and provide your token. You can generate your Personal Access Token at https://calendly.com/integrations/api_webhooks
client = Calendlyr::Client.new(token: ENV["CALENDLY_TOKEN"])
The client then provides access to all of the resources.
The gem is designed to closely mirror the Calendly API, making it easy to convert API examples into gem code
Responses are created as objects, like Calendlyr::Event
. Having types like Calendlyr::User
is useful for understanding the type of object you're working with. These objects are built using OpenStruct
, allowing you to access data in a Ruby-like way.
- Pagination
- Activity Log
- Availabilities
- Data Compliance
- Event Types
- Groups
- Organizations
- Routing Forms
- Schedule Events
- Scheduled Links
- Shares
- Users
- Webhooks
- Fork it ( https://github.com/araluce/calendlyr/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
When adding resources, update the list of resources in lib/calendlyr
. Additionally, write a spec and include it in the list in the README
Many thanks to@markets (our behind-the-scenes contributor) for all the comments, insights, and tips on this Ruby gem project, and for helping me grow professionally day by day 🙌