Skip to content

AlexNimoy/zadarma-api-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zadarma API ruby client

Zadarma CRM API docs.

Simple Usage

zadarma_client = ZadarmaApi::Client.new(key: 'string', secret: 'string')
zadarma_client.call('/info/balance/', 'put', { id: 'YOURSIP', status: 'on'})

Config params

ZadarmaApi::Client.new(:key, :secret, :sandbox, :api_version)

option type description default required
key string you key true
secret string you secret true
sandbox boolean enable\desable sandbox false false
api_version string zadarma api version v1 false

Call params

zadarma_client.call(path, method, params)
option type description default required
path string path true
method string get, post, put, delete get true
params hash request params {} false

About

Zadarma API ruby client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages