Skip to content

OnePageCRM/ruby-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OnePageCRM Ruby API Client

This is a short ruby script to help you get started with the OnePageCRM API.

It only contains a small subsection of calls and functions available using the API.

Getting started

  • Clone the repository and cd into the directory

  • copy the config/config_sample.yml file to config/config.yml and add your OnePageCRM user_id and api_key.

  • Start irb and require the lib/onpageapi file

    require './lib/onepageapi'

  • Create a new client object

    client = OnePageAPI.new()

  • Run the different commands - for example:

    client.get('bootstrap.json')

    client.get('contacts.json')

    client.post('contacts.json', contact_data)

    client.put('contacts/#{contact_id}.json', updated_contact_data)

Learn more

For full set of documentation on all endpoints, please visit https://developer.onepagecrm.com/api/

About

Sample Ruby Client for the OnePageCRM API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages