Provides integration with Libraries API (2.x) and a Drush [Make] script to download the Namecheap SDK for use with the Namecheap API.

The NameCheap API allows you to build web and desktop applications that integrate with your NameCheap account. It allows you to programmatically perform operations like domain search, domain register, purchase SSL etc., from within your application.

Place the appropriate version of the Namecheap SDK in the libraries directory within the site you are working. That may be 'default' or 'all' like the following: sites/all/libraries or sites/default/libraries. The end result after extracting the library should be sites/.../libraries/namecheap/registrars/namecheap/namecheap.php.

Configuration can be performed either using variables hardcoded into settings.php or the UI. If you want to hardcode them then look at the UI for the variable names.

$conf['namecheap_username'] = '...';
$conf['namecheap_password'] = '...'; // API key, but SDK did not rename it.
$conf['namecheap_testmod'] = '...';

The following is an example of how to use the API inside of Drupal.

libraries_load('namecheap');
$params = namecheap_params();
$params['sld'] = '...';
$params['tld'] = '...';
$result = namecheap_GetNameservers($params);

For more information about the Namecheap API please see the following.

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Module categories: Developer Tools, Integrations
  • By boombatower on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    Look for the shield icon below.

Releases