Skip to content

anvyst/whmcs-api

Repository files navigation

whmcs-ruby

Build Status | Coverage Status

whmcs-api provides Ruby bindings for the WHMCS API.

Usage

    require 'whmcs-api'

	WHMCS.configure do |config|
		config.api_url      = 'http://example.com/includes/api.php'
		config.api_username = 'someusername'
		config.api_password = 'c4ca4238a0b923820dcc509a6f75849b' # md5 hash
		# optionally add access key
		config.api_key = 'YetAnotherAPIAccessKeyForWHMCS'

	end

    WHMCS::Client.get_clients_details(:clientid => '1')

Useful links

Copyright

Copyright (c) 2014 anvyst.com, under MIT License. Have fun!

Copyright (c) 2011 DotBlock.com, see LICENSE in this repo for details.

About

WHMCS API module for Ruby originally taken from whmcs-ruby gem

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages