Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 1.28 KB

README.md

File metadata and controls

51 lines (31 loc) · 1.28 KB

getout

Programmatic API in Python to interact with CDMON domain provider website.

This is WIP but has already been used in production since two years ago.

See example.py and example_details.py for some tips about how to use.

All operations on domains must work except this ones:

  • Activate/deactivate private whois
  • Activate/deactivate autorenew domain

Motivation:

In Spanish: https://www.estudionexos.com/post/si-no-tiene-api-lo-hacemos-una-solucion-para-usuarios-de-cdmon/

Quickstart:

sudo pip install https://github.com/EstudioNexos/getout/archive/master.zip
touch myscript.py

And then in myscript.py:

from getout.api import CDMON

cdmon = CDMON(user="yourcdmonuser",password="yourcdmonpassword")

print list(cdmon.get_summary())

Results from queries are Lookupy collections, this means that can be filtered using Lookupy expressions. Check documentation for more ways of filtering: https://github.com/naiquevin/lookupy

summary.filter(canonical_name__endswith='.es')

Contributing

Issues and contributions are welcomed

DISCLAIMER

This project is not related in any way with cdmon.com or 10dencehispahard S.L.

CDMON is a 10dencehispahard S.L trademark.

This project doesn't use any data that cannot be obtained using a standard web browser.