An open API service indexing awesome lists of open source software.

https://github.com/ademdc/ruby-etsy

Ruby v3 Etsy API wrapper
https://github.com/ademdc/ruby-etsy

Last synced: 14 days ago
JSON representation

Ruby v3 Etsy API wrapper

Awesome Lists containing this project

README

        

# ruby-etsy
Etsy Ruby Wrapper

## Installation
Add this line to your application's Gemfile:

```
gem 'ruby-etsy', '0.0.4', require: 'ruby-etsy'
```

...followed with:
```
bundle install
```

Or install it with:
```
gem install ruby-etsy
```

## Usage
```
etsy = RubyEtsy.new(access_token: 'token', refresh_token: 'referesh_token', api_key: 'api_key', api_secret: 'secret')
```

The returned object is a Struct which has two parameters: `success?` and `hash_response`. e.g.

```
#1, "id"=>1, "title"=>"delectus aut autem", "completed"=>false}>
```

## Run tests

```
rspec spec
```

### Thank you for using RubyEtsy!