# PyPhishtank Lookup
This is the client API for [Phishtank Lookup](https://github.com/Lookyloo/phishtank-lookup),
not the official phishtank API.
## Installation
```bash
pip install pyphishtanklookup
```
## Usage
### Command line
You can use the `phishtank-lookup` command to search in the database:
```bash
usage: phishtank-lookup [-h] [--url URL] (--info | --url_query url | --urls_by_cc cc | --urls_by_ip ip | --urls_by_asn asn)
Search a URL in Phishtank Lookup.
optional arguments:
-h, --help show this help message and exit
--url URL URL of the instance (defaults to https://phishtankapi.circl.lu/).
--info Info avout the instance.
--url_query url URL to search.
--urls_by_cc cc Country Code to search.
--urls_by_ip ip IP address to search.
--urls_by_asn asn ASN to search.
```
### Library
See [API Reference](https://pyphishtanklookup.readthedocs.io/en/latest/)
Raw data
{
"_id": null,
"home_page": "https://github.com/lookyloo/PyPhishtankLookup",
"name": "pyphishtanklookup",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "Rapha\u00ebl Vinot",
"author_email": "raphael.vinot@circl.lu",
"download_url": "https://files.pythonhosted.org/packages/d5/c8/75f3ba40b43cc980ba3de31c37c906187bd6eeb6e5aa675d4a212de0eb33/pyphishtanklookup-1.3.2.tar.gz",
"platform": null,
"description": "# PyPhishtank Lookup\n\nThis is the client API for [Phishtank Lookup](https://github.com/Lookyloo/phishtank-lookup),\nnot the official phishtank API.\n\n## Installation\n\n```bash\npip install pyphishtanklookup\n```\n\n## Usage\n\n### Command line\n\nYou can use the `phishtank-lookup` command to search in the database:\n\n```bash\nusage: phishtank-lookup [-h] [--url URL] (--info | --url_query url | --urls_by_cc cc | --urls_by_ip ip | --urls_by_asn asn)\n\nSearch a URL in Phishtank Lookup.\n\noptional arguments:\n -h, --help show this help message and exit\n --url URL URL of the instance (defaults to https://phishtankapi.circl.lu/).\n --info Info avout the instance.\n --url_query url URL to search.\n --urls_by_cc cc Country Code to search.\n --urls_by_ip ip IP address to search.\n --urls_by_asn asn ASN to search.\n```\n\n### Library\n\nSee [API Reference](https://pyphishtanklookup.readthedocs.io/en/latest/)\n",
"bugtrack_url": null,
"license": "BSD-3-Clause",
"summary": "Python CLI and module for PhishtankLookup",
"version": "1.3.2",
"project_urls": {
"Homepage": "https://github.com/lookyloo/PyPhishtankLookup",
"Repository": "https://github.com/lookyloo/PyPhishtankLookup"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e457eddc15eb1986f08e8a070e532f0e56799c8c78606ab816c13d3d2358bb7f",
"md5": "a7a8bcd74fd0d590f0470147cd6719dd",
"sha256": "3faa39648f7e6c95b51c89a3a3ae4030b3aea9777e0aeccfd0ebfdc16a4c85eb"
},
"downloads": -1,
"filename": "pyphishtanklookup-1.3.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a7a8bcd74fd0d590f0470147cd6719dd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4.0",
"size": 5140,
"upload_time": "2024-02-06T09:18:33",
"upload_time_iso_8601": "2024-02-06T09:18:33.252556Z",
"url": "https://files.pythonhosted.org/packages/e4/57/eddc15eb1986f08e8a070e532f0e56799c8c78606ab816c13d3d2358bb7f/pyphishtanklookup-1.3.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d5c875f3ba40b43cc980ba3de31c37c906187bd6eeb6e5aa675d4a212de0eb33",
"md5": "ec2120d3d967c652c6a50395a21ebd21",
"sha256": "873e97d2fa69d70d07ef04805b6bea80b8b5482a77b332bc6094a744421699e5"
},
"downloads": -1,
"filename": "pyphishtanklookup-1.3.2.tar.gz",
"has_sig": false,
"md5_digest": "ec2120d3d967c652c6a50395a21ebd21",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<4.0",
"size": 4145,
"upload_time": "2024-02-06T09:18:34",
"upload_time_iso_8601": "2024-02-06T09:18:34.887539Z",
"url": "https://files.pythonhosted.org/packages/d5/c8/75f3ba40b43cc980ba3de31c37c906187bd6eeb6e5aa675d4a212de0eb33/pyphishtanklookup-1.3.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-06 09:18:34",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "lookyloo",
"github_project": "PyPhishtankLookup",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pyphishtanklookup"
}