No commit activity in last 3 years
No release in over 3 years
Gem for communicating with pipedrive API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.15
~> 12.0

Runtime

~> 1.0, >= 1.0.1
 Project Readme

PipedriveClient

Installation

Add this line to your application's Gemfile:

require 'pipedrive_client'

And then execute:

$ bundle

Or install it yourself as:

$ gem install pipedrive_client

Usage

In order to use gem, you have to create file config/pipedrive_key.yml with your pipedrive API private key

:api_key: "top_secret_api_key"
Pipedrive::Client.new('dealFields').get

Pipedrive::Client.new(
  'products',
  id: 2,
  method: 'deals',
  query: {
    status: 'all_not_deleted'
  }
).get

Optional parameters:

{
    id: # Fetches specified id from API
    method: # Sends specified method to API 
    query: {}, # Query which will be send to api
}