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 details)
File details
Details for the file c99api-1.0.tar.gz
.
File metadata
- Download URL: c99api-1.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da66a8d453aaad61b505478a4ac05c9fe0f27f3ce2aefe0f4b5be31079c3251e |
|
MD5 | 1f6554a31f98716a78e3d23ec2e6db08 |
|
BLAKE2b-256 | 6463a7e3e26b42a583ac0a744169b0165443821d75dfb742e9b9b07d02ac5844 |