Skip to main content

ddnspod, ddns client for DNSPod

Project description

# get domain_id and record_id
# curl -X POST -d 'login_token=LOGIN_TOKEN&format=json'
# curl -X POST -d 'login_token=LOGIN_TOKEN&format=json&domain_id=2317346'

from ddnspod.ddns import Ddns

if __name__ == '__main__':
    token_id = '12345'
    token = 'ec589ccfa8jk4b1241d3e63b7690b53b'
    domain_id = 37642234
    record_id = 18292123

    d = Ddns('{},{}'.format(token_id, token), domain_id, record_id, 'dev')
    # checker for ip update every 10 seconds

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Built Distribution

ddnspod-0.1.2-py3-none-any.whl (3.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page