Skip to content

OnePageCRM/ruby-client

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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