Skip to main content

Python wrapper for SubdomainRadar.io API

Project description

SubdomainRadar Python API Wrapper

This repository contains Python wrapper for the SubdomainRadar API, allowing you to interact with the SubdomainRadar service for enumerating subdomains, managing tasks, performing reverse searches.

Table of Contents

Features

  • List enumerators
  • List enumerator groups
  • Retrieve user profile
  • Manage tasks
  • Perform reverse search
  • Enumerate domains
  • Retrieve excluded domains and TLDs

Installation

Python

  1. Clone the repository:

    pip install subdomainradar
    

Usage

Python 3.9+

  1. Import the SubdomainRadarAPI class:

    from subdomainradar import SubdomainRadarAPI
    
  2. Create an instance of the SubdomainRadarAPI class:

    api = SubdomainRadarAPI(base_url="https://api.subdomainradar.io", api_key="YOUR_API_KEY")
    
  3. Call the available methods:

    # Enumerate domains
    domains = ["tesla.com", "google.com"]
    results = api.enumerate_domains_with_results(domains=domains, group="Fast")
    print(results)
    

API Methods

Python Methods

  • Enumerators

    • list_enumerators()
    • list_enumerator_groups()
  • Profile

    • get_profile()
  • Tasks

    • get_task(task_id)
    • list_tasks()
    • enumerate_domains(domains, enumerators=None, group=None)
    • enumerate_domains_with_results(domains, enumerators=None, group=None)
  • Reverse Search

    • reverse_search(subdomain_part=None, domain_part=None, tld_part=None, exclude_generic_hosting_domains=False, exclude_gov_ed_domains=False)
  • Excludes

    • get_excludes()

Contribution

Contributions are welcome! Please open an issue or submit a pull request for any changes or improvements.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

subdomainradar-1.0.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

subdomainradar-1.0.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file subdomainradar-1.0.1.tar.gz.

File metadata

  • Download URL: subdomainradar-1.0.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.13

File hashes

Hashes for subdomainradar-1.0.1.tar.gz
Algorithm Hash digest
SHA256 d0c663faeea7a429fdac695c90b4c9e9ce167d9e9372222f98555b3c4c9ed857
MD5 241b6ce5b2254ceede53e1955bfbdd29
BLAKE2b-256 82e8cd4ae1719b352710829e2bee62e6c12ec6c925a98637eb6a48e21daa189a

See more details on using hashes here.

File details

Details for the file subdomainradar-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: subdomainradar-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.13

File hashes

Hashes for subdomainradar-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f7aae90f18f1574533bbc641e9039c97b7091dc6a14647059fbc4219d11cbfe8
MD5 d56c53629a1bff9a6c129aca40e314c6
BLAKE2b-256 fda187559d0c931316cc3aeb6443f95950238c8795022495c217c4a2a4e3a730

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page