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
- Host: GitHub
- URL: https://github.com/ademdc/ruby-etsy
- Owner: ademdc
- Created: 2021-12-07T20:15:36.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-01T15:03:36.000Z (over 2 years ago)
- Last Synced: 2024-04-25T12:21:52.996Z (about 1 year ago)
- Language: Ruby
- Homepage: https://rubygems.org/gems/ruby-etsy
- Size: 7.81 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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!