A Python wrapper and handler for the c99.nl API
Project description
Seamlessly integrate the c99.nl API into your Python projects
Installation
pip install c99api
Initiator
# Import the package
from c99api import EndpointClient
api = EndpointClient
# Define your API key
api.key = 'your_key'
Usage
# Access list of different methods available
response = api.list_methods()
print(response)
[
'phonelookup',
'emailvalidator',
'disposablemailchecker',
'portscanner',
'portscanner_port',
'ping',
'gethostname',
'dnschecker',
'dnsresolver',
'ipvalidator',
'torchecker',
'iplogger',
'proxydetector',
'subdomainfinder',
'firewalldetector',
'ip2domains',
'alexarank',
'whois',
'createscreenshot',
'geoip',
'upordown',
'reputationchecker',
'getheaders',
'linkbackup',
'urlshortener',
'bitcoinbalance',
'ethereumbalance',
'currency',
'currencyrates',
'randomstringpicker',
'dictionary',
'definepicture',
'synonym',
'translate',
'randomperson',
'youtubedetails',
'youtubemp3',
'weather',
'qrgenerator',
'textparser',
'passwordgenerator',
'randomnumber',
'licensekeygenerator',
'eitheror',
'gif'
]
Use Cases
# With JSON
response = api.emailvalidator(email='example@example.com', json=True)
print(response)
{'success': True, 'exists': False, 'error': "E-mail doesn't exist."}
# Without JSON
response = api.emailvalidator(email='example@example.com', json=False)
print(response)
Email doesn't exist
Other
To-Do
Add dynamic parser for JSON responses
Docs
Warning
To use the c99.nl API you need to purchase an API key
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
c99api-1.0.tar.gz
(5.6 kB
view hashes)