phishlabs-api-client

Phishlabs API Client Library


Keywords
Phishlabs, API, Client, rest, python
License
SSPL-1.0
Install
pip install phishlabs-api-client==0.1.0

Documentation


platform python bricata 0%

Phishlabs API Client

Installation

pip install phishlabs-api-client

Basic Usage

Works with Phishlabs API

See examples folder for more

Class Inheritence

from phishlabs_api_client import PhishlabsApiClient

class MyClass(PhishlabsApiClient):
    def __init__(self):
        PhishlabsApiClient.__init__(self, cfg='/path/to/config.toml')
        
    def __enter__(self):
        return self

    def __exit__(self, exc_type, exc_val, exc_tb):
        PhishlabsApiClient.__aexit__(self, exc_type, exc_val, exc_tb)

Context Manager

from phishlabs_api_client import PhishlabsApiClient

async with PhishlabsApiClient(cfg='/path/to/config.toml') as bac:
    alerts = bac.get_alerts()

Documentation

GitHub Pages

  • Work in Process

API Implementation, Categories (0/2) ~0%, Functions (0/6) ~0%

  • Cases
    • Get All Cases
    • Get All Cases Filtered
    • Get One Case
    • Get All Cases Count
    • Get All Cases Count Filtered
  • Attachments
    • Get One Cases Attachments

License

Copyright © 2019 Jerod Gawne https://github.com/jerodg/

This program is free software: you can redistribute it and/or modify it under the terms of the Server Side Public License (SSPL) as published by MongoDB, Inc., either version 1 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the SSPL for more details.

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

You should have received a copy of the SSPL along with this program. If not, see https://www.mongodb.com/licensing/server-side-public-license.