Libraries
To make the experience of using the Sell API v2 even more pleasant, we release pre-built client libraries for many major programming languages.
Currently we officially support Ruby, Python, PHP and Java wrappers (see more details below).
If you want to share your work, you are welcome to create a post inour developer community.
Ruby
The gem is available via Rubygems and the source code can be found onGithub. To install, use the following command:
gem install basecrm
If you use Bundler, put the line below in your Gemfile:
gem 'basecrm'
To get the latest version, put this in your Gemfile:
gem 'basecrm', git: "git://github.com/zendesk/basecrm-ruby.git"
Python
BaseCRM package is avialable viaPyPIand can be installed either via pip or easy_install:
$ pipinstall——升级basecrm
or
$ easy_install --upgrade basecrm
You can install from the source code as well. First clonethe repoand then execute:
$ python setup.pyinstall
PHP
The recommended way to install the client is throughComposer.
# Install Composer
旋度-sS https://getcomposer.org/installer|php
Next, run the Composer command to install the latest stable version:
composerrequire basecrm/basecrm-php
After installing, you need to require Composer's autoloader:
require 'vendor/autoload.php';
The source code is avaialble onGithub
Java
The following intruction assume you haveGradle Build Systeminstalled. The library is available viaMaven central. To install, add the following content to yourbuild.gradle
file:
存储库{
mavenCentral()
}
depdendencies {
compile "com.getbase:basecrm-java:1.5.1"
}
The source code can be found onGithub.