Please add dc-unlocker.com API. If you need any other information, let me know.
Full Details Here:
Activate Vygis and Rocker dongles.
Add credits to Vygis, Rocker, Infinity dongles.
Receive information about dongle: activation status, activation date, block status, credits remaining, support status, active features.
Create new user or reseller.
Add / remove credits from user.
Check if user name is valid and unique in system.
Check and renew user's timed license.
Check remaining credits of API user, dongle or another user.
Extend dongle support period.
Activate dongle features.
Get information about active dongle features and activations, available support and user timed licenses.
This is the only place to download DC-unlocker API
Latest version: 2.02
DCU API 2.00
DCU API 1.09
Server must have PHP support and openssl extension for message encryption.
Copy files to server.
Include DcUnlockerAPI.class.php in to your code.
See examples for available methods and how to use them.
These examples only valid for API version 2.02 !
You can enable test mode for an action with function testModeOn(). No changes will be made to credits, users, dongles but results will be returned. See examples how to use this function to enable test mode.
Check user, dongle or your own remaining credits
Check if user name is valid and unique in system
Look up dongle sn in database
Get all dongle related information
Get dongle support status
Get activated dongle features
Get information about features, activations, support and licenses
Get user's timed license status
Add credits to user or dongle or remove credits from user
Renew dongle support
Create new user
Activate dongle feature
Renew user's timed license
New users can be created with timed licenses already activated.
Information about available support (id, price and name) is returned by getDongleSupportList() function.
All available activations (including pricing) are returned by getDongleActivationList() function.
Dongle feature activation.
All available dongle features are returned by getFeaturesList() function.
Activated dongle features are returned by getDongleActiveFeatures() or getAllInfo() functions.
Timed licenses for users.
All available user timed licenses are returned by getTimedLicenseList() function.
User's timed license status is returned by getTimedLicenseStatus() function.
Fix: allow actions to be called one after another without reinitializing API object.
Fix: "DIDN'T FOUND RECORD" error message (code 202) changed to "USER NOT FOUND"
Fix: "USER IS ALREADY BLOCKED" error message (code 208) changed to "USER IS BLOCKED"
Fix: new dongle support status is returned after renewal.
Removed config.php file. User name and password now passed directly to API class constructor and custom public.key path provided by DCU_API_PUBLIC_KEY define.
Removed deprecated function getUserWithCreditsList() .
New error codes: 215, 216, 217, 218, 219, 264, 265, 323, 324, 325 (see "Error codes" for explanation).
Servers unix timestamp is returned in the response.
DC-unlocker dongles can use serial number in integer form instead of hex.
Vygis/Rocker/Infinity dongle activation function activateDongle() with type auto detection.
New Reseller type users can be created.
Limit credit transfer from user to two weeks after user is created.
Live demo of the API is now available. Check examples for links to demo scripts.
getAllInfo() now also returns dongle support status and expiration time.
Added getDongleSupportStatus() function. Returns dongle support status and/or expiration time. See Get dongle support statusexample.
Added renewDongleSupport() function. Extends dongle support period. See Renew dongle support example.
Removed legacy (1.07 and older) code support.
Modified PUBLIC_KEY config setting to support relative paths.
added new error code: 260. Dongle S/N was not found
added new error code: 259. Dongle needs to be activated
Transfer credits to non activated dongle is forbidden. Returns 259 error code (see above)
Added function checkDongleSN() - look up dongle s/n in database (see example for more info)
10 000 credits transfer limit with one operation set
Function createNewUser changed. Old function required 4 variables: username, password, email, credits. New function requires only two variables: username, credits. function createNewUser($userName, $credits)
Removed email, and password variables.
Password will be generated and will be found in response message\'s array [new_user_pass] key value.
For more info check Create new user example
Entered user's name was not found
Not enough credits for operation
Api user can't check entered user's data You can only check user data of your account and users/dongles you created
User name exists Entered user name exists in system. You can not create duplicate user name
User is already blocked Trying to block already blocked user
Entered user name is reserved in system. You can not create user with reserved user name
Too many incorrect login attempts (3 or more per day)
Maximum transfer credits limit reached
API user login incorrect
API user does not have permission to use timed licenses
Timed license id is invalid
Failed to renew timed license
Failed to create a new user
API user's software does not match with client user's software
Dongle already activated You are trying to activate already activated dongle
Dongle serial number and type mismatch You are trying to activate dongle with different dongle activation API command.
For example trying to activate Vygis dongle with function activateRockerDongle()
API user can not activate specified dongle type
Dongle is blocked
Dongle needs to be activated
Dongle S/N not found
Dongle must have at least one unlock operation done
Failed to set dongle feature
Dongle feature is already set
Invalid IP address
Invalid dongle serial number Vygis dongle serial number length is 8
Rocker dongle serial number length is 16
Infinity dongle serial number length is 10
S/n is from 0-9 A-F character range
Incorrect credit amount Must be integer number between 1-9999
Invalid entered user name Valid user name is between length 5-16, can have characters from (a-zA-Z0-9_.-), except reserved names for dongle serial numbers (dongle s/n)
check your inputs
API user is not a creator or activator
This action is not allowed for special users
User is too old for this action
Invalid dongle feature
Reseller must have at least 200 credits (new user or recipient)