I am trying to write a script that lists all the domains I have registered.
When I run the script:
* I get a text with the raw request and response from under the hood
* When I run a for loop on api.domains_getList() I get an object with all the data about the domain, I just need the domain name.
I would like the output to be something like this
# python3 nc.py
domain1.com
domain2.com
...
lastdomain.com
I am trying to write a script that lists all the domains I have registered.
When I run the script:
* I get a text with the raw request and response from under the hood
* When I run a for loop on api.domains_getList() I get an object with all the data about the domain, I just need the domain name.
I would like the output to be something like this