{"id":19409024,"url":"https://github.com/jerodg/53.phishlabs-api-client","last_synced_at":"2025-02-25T02:18:22.698Z","repository":{"id":166097409,"uuid":"215621644","full_name":"jerodg/53.phishlabs-api-client","owner":"jerodg","description":"Phishlabs Case Data API Client","archived":false,"fork":false,"pushed_at":"2020-01-29T19:10:07.000Z","size":722,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-10T12:09:18.013Z","etag":null,"topics":["api","client","phishlabs","python","rest"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jerodg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2019-10-16T18:53:12.000Z","updated_at":"2024-04-03T21:21:54.000Z","dependencies_parsed_at":"2024-04-03T23:27:36.101Z","dependency_job_id":"7435173b-9539-4c46-9b13-d027f54307cd","html_url":"https://github.com/jerodg/53.phishlabs-api-client","commit_stats":null,"previous_names":["jerodg/53.phishlabs-api-client"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerodg%2F53.phishlabs-api-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerodg%2F53.phishlabs-api-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerodg%2F53.phishlabs-api-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerodg%2F53.phishlabs-api-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jerodg","download_url":"https://codeload.github.com/jerodg/53.phishlabs-api-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232890717,"owners_count":18592542,"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":["api","client","phishlabs","python","rest"],"created_at":"2024-11-10T12:09:25.072Z","updated_at":"2025-01-07T14:25:23.009Z","avatar_url":"https://github.com/jerodg.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"```\n\n```\n![platform](https://img.shields.io/badge/Platform-Mac/*nix/Windows-blue.svg)\n![python](https://img.shields.io/badge/Python-8%2B-blue.svg)\n![bricata](https://img.shields.io/badge/Phishlabs-blue.svg)\n\u003ca href=\"https://www.mongodb.com/licensing/server-side-public-license\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-SSPL-green.svg\"\u003e\u003c/a\u003e\n![0%](https://img.shields.io/badge/Coverage-0%25-red.svg)\n\u003ca href=\"https://saythanks.io/to/jerodg\"\u003e\u003cimg src=\"https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg\"\u003e\u003c/a\u003e\n\n\nPhishlabs API Client\n\n\n## Installation\n```bash\npip install phishlabs-api-client\n```\n\n## Basic Usage\nWorks with Phishlabs API\n\n*See examples folder for more*\n\n### Class Inheritence\n```python\nfrom phishlabs_api_client import PhishlabsApiClient\n\nclass MyClass(PhishlabsApiClient):\n    def __init__(self):\n        PhishlabsApiClient.__init__(self, cfg='/path/to/config.toml')\n        \n    def __enter__(self):\n        return self\n\n    def __exit__(self, exc_type, exc_val, exc_tb):\n        PhishlabsApiClient.__aexit__(self, exc_type, exc_val, exc_tb)\n```\n\n### Context Manager\n```python\nfrom phishlabs_api_client import PhishlabsApiClient\n\nasync with PhishlabsApiClient(cfg='/path/to/config.toml') as bac:\n    alerts = bac.get_alerts()\n```\n\n## Documentation\n[GitHub Pages](https://jerodg.github.io/phishlabs-api-client/)\n- Work in Process\n\n## API Implementation, Categories (0/2) ~0%, Functions (0/6) ~0%\n\n- [ ] Cases\n    - [ ] Get All Cases\n    - [ ] Get All Cases Filtered\n    - [ ] Get One Case\n    - [ ] Get All Cases Count\n    - [ ] Get All Cases Count Filtered\n- [ ] Attachments\n    - [ ] Get One Cases Attachments\n\n\n## License\nCopyright © 2019 Jerod Gawne \u003chttps://github.com/jerodg/\u003e\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the Server Side Public License (SSPL) as\npublished by MongoDB, Inc., either version 1 of the\nLicense, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nSSPL for more details.\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nYou should have received a copy of the SSPL along with this program.\nIf not, see \u003chttps://www.mongodb.com/licensing/server-side-public-license\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerodg%2F53.phishlabs-api-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjerodg%2F53.phishlabs-api-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerodg%2F53.phishlabs-api-client/lists"}