From HEXONET Wiki
Contents[hide] |
ISPAPI is a new simple commandline interface connected with your Hexonet account allowing you to deal with the system via API Commands. ISPAPI is now available for LINUX and will be available for WINDOWS and MAC OS shortly.
Our new tool supports graphical and shell based mode.
DOWNLOAD
LINUX VERSION for UBUNTU and DEBIAN
Latest version: ISPAPI Commandline interface (Version 1.0.3, 2014-08-18)
How to install it?
Over shell
sudo dpkg -i ispapi_latest_all.deb
Over the Software-Center
Launch the downloaded "ispapi_latest_all.deb" file and install it.
How to use it?
Graphical mode
ispapi --gui
Go to „Settings“ → „API Credentials“ and fill your credential. They will be saved in a profile file.
Shell based mode
ispapi --login=test.user --password=test.passw0rd --entity=1234 [command]
More details available with #ispapi –help
Example:
ispapi --login=test.user --password=test.passw0rd --entity=1234 checkdomain mydomain.com
If you don't want to send your credential with each queries, open the Graphical mode, go to „Settings“ → „API Credentials“ and fill your credential. They will be saved in a profile file. Once done, the saved credentials will be used for each querie and the query will look like:
ispapi [command]
Example:
ispapi checkdomain mydomain.com