Skip to main content

Phishlabs API Client Library

Project description


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.

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for phishlabs-api-client, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size phishlabs_api_client-0.1.0-py2.py3-none-any.whl (20.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size phishlabs-api-client-0.1.0.tar.gz (15.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page