{"id":21740888,"url":"https://github.com/whois-api-llc/website-categorization-py","last_synced_at":"2025-03-21T01:15:36.736Z","repository":{"id":62588566,"uuid":"383551799","full_name":"whois-api-llc/website-categorization-py","owner":"whois-api-llc","description":"Website Categorization API client library for Python","archived":false,"fork":false,"pushed_at":"2023-11-30T08:44:02.000Z","size":18,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-26T01:45:40.304Z","etag":null,"topics":["categorization","category-api","python","website-categorization","whoisxmlapi"],"latest_commit_sha":null,"homepage":"https://website-categorization.whoisxmlapi.com/api","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/whois-api-llc.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.rst","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-06T17:39:00.000Z","updated_at":"2023-01-18T15:24:27.000Z","dependencies_parsed_at":"2022-11-03T17:50:16.984Z","dependency_job_id":"9a60a130-3f59-4af3-a880-98ab98c88a99","html_url":"https://github.com/whois-api-llc/website-categorization-py","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"f0c78ad6bd1dfc602352955e1653cf2d047758a9"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whois-api-llc%2Fwebsite-categorization-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whois-api-llc%2Fwebsite-categorization-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whois-api-llc%2Fwebsite-categorization-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whois-api-llc%2Fwebsite-categorization-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whois-api-llc","download_url":"https://codeload.github.com/whois-api-llc/website-categorization-py/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244717339,"owners_count":20498284,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["categorization","category-api","python","website-categorization","whoisxmlapi"],"created_at":"2024-11-26T06:15:48.334Z","updated_at":"2025-03-21T01:15:36.708Z","avatar_url":"https://github.com/whois-api-llc.png","language":"Python","readme":".. image:: https://img.shields.io/badge/License-MIT-green.svg\n    :alt: website-categorization-py license\n    :target: https://opensource.org/licenses/MIT\n\n.. image:: https://img.shields.io/pypi/v/website-categorization.svg\n    :alt: website-categorizations-py release\n    :target: https://pypi.org/project/website-categorization\n\n.. image:: https://github.com/whois-api-llc/website-categorization-py/workflows/Build/badge.svg\n    :alt: website-categorization-py build\n    :target: https://github.com/whois-api-llc/website-categorization-py/actions\n\n========\nOverview\n========\n\nThe client library for\n`Website Categorization API \u003chttps://website-categorization.whoisxmlapi.com/\u003e`_\nin Python language.\n\nThe minimum Python version is 3.7.\n\nInstallation\n============\n\n.. code-block:: shell\n\n    pip install website-categorization\n\nExamples\n========\n\nFull API documentation available `here \u003chttps://website-categorization.whoisxmlapi.com/api/documentation/v3/making-requests\u003e`_\n\nCreate a new client\n-------------------\n\n.. code-block:: python\n\n    from websitecategorization import *\n\n    client = Client('Your API key')\n\nMake basic requests\n-------------------\n\n.. code-block:: python\n\n    # Get categories for a domain name.\n    response = client.data('whoisxmlapi.com')\n    print(\"Responded? \" + \"Yes\" if response.website_responded else \"No\")\n    if response.website_responded:\n        for cat in response.categories:\n            print(\"Cat: \" + str(cat.name))\n\nAdvanced usage\n-------------------\n\nExtra request parameters\n\n.. code-block:: python\n\n    # Specifying minimal level of confidence\n    response = client.data('whoisxmlapi.com', 0.75)\n\n    # Getting raw API response in XML\n    xml = client.raw_data('whoisxmlapi.com', output_format=Client.XML_FORMAT)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhois-api-llc%2Fwebsite-categorization-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhois-api-llc%2Fwebsite-categorization-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhois-api-llc%2Fwebsite-categorization-py/lists"}