{"id":21047832,"url":"https://github.com/opsdisk/pyisitphish","last_synced_at":"2025-08-20T20:21:52.974Z","repository":{"id":94246840,"uuid":"346545677","full_name":"opsdisk/pyisitphish","owner":"opsdisk","description":"A Python API client for interacting with the isitphish API.","archived":false,"fork":false,"pushed_at":"2025-06-09T22:11:03.000Z","size":28,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-14T13:46:36.908Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opsdisk.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-11T01:47:39.000Z","updated_at":"2024-08-12T20:11:05.000Z","dependencies_parsed_at":"2024-06-08T19:31:50.025Z","dependency_job_id":"e16985f4-d340-46b1-8c9e-f3df69a0fd88","html_url":"https://github.com/opsdisk/pyisitphish","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/opsdisk/pyisitphish","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opsdisk%2Fpyisitphish","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opsdisk%2Fpyisitphish/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opsdisk%2Fpyisitphish/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opsdisk%2Fpyisitphish/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opsdisk","download_url":"https://codeload.github.com/opsdisk/pyisitphish/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opsdisk%2Fpyisitphish/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271378677,"owners_count":24749191,"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","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-19T14:38:25.910Z","updated_at":"2025-08-20T20:21:52.918Z","avatar_url":"https://github.com/opsdisk.png","language":"Python","readme":"# isitphish API Client\n\nA Python API client for interacting with the isitphish API (\u003chttps://www.isitphish.com/\u003e).  Comments, suggestions, and\nimprovements are always welcome. Be sure to follow [@opsdisk](https://twitter.com/opsdisk) on Twitter for the latest\nupdates.\n\n## Installation\n\n```bash\ngit clone https://github.com/opsdisk/pyisitphish.git\ncd pyisitphish\nvirtualenv -p python3.7 .venv  # If using a virtual environment.\nsource .venv/bin/activate  # If using a virtual environment.\npip install -r requirements.txt\n```\n\n## Update Credentials\n\nIf using a secrets file, create/update the `secrets.json` file with the host and API key.  See the usage section\non how to pass a secrets dictionary.\n\n```bash\ncp secrets_empty.json secrets.json\n```\n\n```json\n{\n    \"isitphish\": {\n        \"host\": \"api.isitphish.com\",\n        \"token\": \"1234...abcd\"\n    }\n}\n```\n\n## Usage\n\n### Script\n\n```bash\npython isitphish.py -u https://phishbarrel.com\n```\n\n### Module\n\n```python\nimport isitphish\n\n# Pass a secrets file.\nfull_path_to_secrets_file_location=\"/home/user/secrets.json\"\n\niip_client = isitphish.IsItPhishClient(secrets_file_location=full_path_to_secrets_file_location)\niip_client.retrieve_url_score(\"https://phishbarrel.com\")\n\n# Pass a secrets dictionary.\nsecrets_dict = {\n    \"isitphish\": {\n        \"host\": \"api.isitphish.com\",\n        \"token\": \"1234...abcd\"\n    }\n}\n\niip_client = isitphish.IsItPhishClient(secrets_dict=secrets_dict)\niip_client.retrieve_url_score(\"https://phishbarrel.com\")\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopsdisk%2Fpyisitphish","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopsdisk%2Fpyisitphish","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopsdisk%2Fpyisitphish/lists"}