Skip to content

jthom2/c99-api

Repository files navigation







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

API Overview

Warning

To use the c99.nl API you need to purchase an API key