Skip to content

VapiAI/server-sdk-ruby

Repository files navigation

Vapi Ruby Library

fern shield Gem Version

The Vapi Ruby library provides access to the Vapi API from Ruby.

Documentation

API reference documentation is available here.

Installation

Install the gem and add to the application's Gemfile by executing:

bundle add vapi_server_sdk

If bundler is not being used to manage dependencies, install the gem by executing:

gem install vapi_server_sdk

Usage

require "vapi_server_sdk"

client = Vapi::Client.new(
  token: 'YOUR_TOKEN'
)
result = client.calls.create()

Async Client

The SDK exposes an async client that you can use to make non-blocking requests.

require "vapi_server_sdk"

client = Vapi::AsyncClient.new(
  token: 'YOUR_TOKEN'
)
result = client.calls.create()

Contributing

While we value open-source contributions to this SDK, this library is generated programmatically. Additions made directly to this library would have to be moved over to our generation code, otherwise they would be overwritten upon the next generated release. Feel free to open a PR as a proof of concept, but know that we will not be able to merge it as-is. We suggest opening an issue first to discuss with us!

On the other hand, contributions to the README are always very welcome!

About

The official Ruby SDK for accessing Vapi's API

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages