DOKK / manpages / debian 12 / namecheap / namecheap.1.en
NAMECHEAP(1) General Commands Manual NAMECHEAP(1)

Namecheap requires an api key, username and address. A configuration file is created when the tool is first run in `~/.namecheap_cfg`.

You must replace these default values with your own:

#!/usr/bin/env python

api_key = '0123456789abcdef0123456789abcdef'

username = 'myusername'

ip_address = '10.0.0.1'

namecheap [-h] [--debug] [--sandbox]

(--add | --delete | --list) [--domain DOMAIN]
[--type TYPE] [--name NAME] [--address ADDRESS] [--ttl TTL]

show this help message and exit
If set, enables debug output
If set, forcing usage of Sandbox API, see README.md for details
Use to add a record
Use to remove a record
List existing records
Domain to manage, default is "example.org", don't forget to override
Record type, default is "A"
Record name, default is "test"
Address for record to point to, default is "127.0.0.1"
Time-To-Live, in seconds, default is 300
(--add | --delete | --list) [--domain DOMAIN]
[--type TYPE] [--name NAME] [--address ADDRESS] [--ttl TTL]

For more info on this tool see https://github.com/Bemmu/pyNamecheap/.

April 2018 User Commands