Sha256: e0cadfa873ff98f7295f567cccdd30ffeb8cf9ee301d3733c07072ccc9ec3a7c

Contents?: true

Size: 1.05 KB

Versions: 6

Compression:

Stored size: 1.05 KB

Contents

# Seam API Ruby Gem

The Seam Ruby library provides convenient access to the Seam API from applications written
in the Ruby language. It includes a pre-defined set of classes for API resources that
initialize themselves dynamically from API responses.

This library also includes:

- [All Seam Web API Methods](https://docs.seam.co/latest/api-endpoints/overview)
- Simplified asynchronous flows, including listening for events or actions to finish

## Installation

Add the following line to your Gemfile

    gem "seamapi"

Then execute

    $ bundle

## Usage

> To use this sdk, you'll need to generate an API Key on the [Seam Dashboard](https://dashboard.getseam.com)

```ruby
seam = Seam::Client.new(api_key: "MY_API_KEY")

devices = seam.devices.list

my_door = devices.first

seam.locks.unlock(my_door).wait_until_finished

```

## Development

To play around with this module interactively in development, first run `bundle`
then run `bin/console` to get an interactive console. You can then use a sandbox
API key to play with the any new features you're testing!

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
seamapi-0.1.0 README.md
seamapi-0.0.5 README.md
seamapi-0.0.4 README.md
seamapi-0.0.3 README.md
seamapi-0.0.2 README.md
seamapi-0.0.1 README.md