Overview
  • Namespace
  • Class

Namespaces

  • APWG
    • API
      • Alerts
      • Groups
      • Index
      • MalIP
      • Phish
      • ReportPhishing

Classes

  • AbstractClient

Interfaces

  • ClientInterface

Interface ClientInterface

The API module client interface

Interface ClientInterface

Direct known implementers

APWG\API\AbstractClient

Indirect known implementers

APWG\API\Alerts\AlertsClient, APWG\API\Groups\GroupsClient, APWG\API\Index\IndexClient, APWG\API\MalIP\MalIPClient, APWG\API\Phish\PhishClient, APWG\API\ReportPhishing\ReportPhishingClient

Namespace: APWG\API
Package: APWG\API
Copyright: Copyright (c) 2017 The Anti-Phishing Working Group
Author: Andrew Breksa andrew@apwg.org
Located at APWG/API/ClientInterface.php

Methods summary

public Psr\Http\Message\ResponseInterface
# _call( $method, string $path, array $options = [] )

Internal method to call the API

Internal method to call the API

Parameters

$method
$path
the endpoint path relative to the base_uri
$options
the request (Guzzle) options

Returns

Psr\Http\Message\ResponseInterface
public Psr\Http\Message\ResponseInterface
# getCache( )

Get the most recent request

Get the most recent request

Returns

Psr\Http\Message\ResponseInterface
public
# setCache( Psr\Http\Message\ResponseInterface $cache )

Set the most recent request

Set the most recent request

Parameters

$cache
API documentation generated by ApiGen