0.0
Low commit activity in last 3 years
No release in over a year
API wrapper for Paxful
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
~> 3.0
~> 2.3

Runtime

 Project Readme

PaxfulClient

An API wrapper for Paxful.

Installation

Add this line to your application's Gemfile:

gem 'paxful_client'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install paxful_client

Usage

client = PaxfulClient.new(host: "host", key: "key", secret: "secret")

# Get balance
response = client.get_balance
wallet = response.wallet
wallet.balance

# Get completed trades (page = 1 by default)
response = client.get_completed_trades

# Get completed trades by page
response = client.get_completed_trades(page: page)

# Get response
order_book = response.order_book
order_book.trades

Development

cp spec/config.yml{.sample,}
rspec

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/MarkFChavez/paxful_client-ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the PaxfulClient project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.