You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The resellme.search_domain method can return a json object with the values such as available or not_available
search_response=resellme.search_domain('xyz.co.zw')
# search_response is a json objectifsearch_response['status'] =='available':
# do registration etc
Registering a New Domain
The client's contact details are entered upon registering the domain
The SDK uses default nameservers upon creation and registration of the domain, however there is room to update to your preferred nameservers, check the Updating Nameserver section
# A contact is created with the details provided upon registering a domainresponse=resellme.register_domain(
domain_name='xbc.co.zw',
first_name='Beven',
last_name='Nyamande',
email='[email protected]',
company='test1',
mobile='123123123',
street_address='123 Xyz Street',
core_business='Area of business undertaken by the company',
city='Harare',
country='Zimbabwe',
)
Updating nameservers
To update nameservers to custom nameservers, firstly provide the domain name of the site you want to update as shown below