Hexonet ISP API
Project description
This is a clone of Hexonet ispapi 2.2.
# Import the ispapi library
import ispapi
# Create a connection with the URL, entity, login and password
# Use "1234" as entity for the OT&E, and "54cd" for productive use
# Don't have a HEXONET Account yet? Get one here: www.hexonet.net/sign-up
api = ispapi.connect(
url = 'https://coreapi.1api.net/api/call.cgi',
entity = '1234',
login = 'test.user',
password = 'test.passw0rd'
)
# Call a command
response = api.call({
'Command': "QueryDomainList", 'limit' : 5
})
# Display the result in the format you want
res = response.as_list()
res = response.as_list_hash()
res = response.as_hash()
# Get the response code and the response description
code = response.code()
description = response.description()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ispapi-0.0.1.tar.gz
(15.3 kB
view details)
File details
Details for the file ispapi-0.0.1.tar.gz
.
File metadata
- Download URL: ispapi-0.0.1.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b52fcb1ba8ac279d85a124dc7f500403e7d20d1489a6f5bd0dd82152aefdf383
|
|
MD5 |
d84fa9989ea8b38cb87b117f44b97149
|
|
BLAKE2b-256 |
fa3a518babecf1a346f9d0b58ec7b61c379451f95b4e259589e141f1aabea7aa
|