No commit activity in last 3 years
No release in over 3 years
An awesome API client for Freshbooks.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

Runtime

~> 3.4.2
~> 0.5.5
~> 1.6.6
 Project Readme

Freshbooks API Client

Inch Documentation Build Status Dependency Status Code Climate Gem Version

Usage

# configure a freshbooks client
freshbooks = Freshbooks::Client.new do |config|
  config.api_url = 'https://mycompany.freshbooks.com/'
  config.token = 'API_TOKEN'
end

# OR
freshbooks = Freshbooks::Client.new(api_url: 'https://mycompany.freshbooks.com/', token: 'API_TOKEN')

# access an API endpoint
projects = freshbooks.projects # => #<Freshbooks::API::Project>
projects.list # => { ... }

projects = Freshbooks::API::Project.new(config_options)