Documentation

Giphy
in package

Table of Contents

Properties

$base  : mixed
$endpoints  : mixed

Methods

__construct()  : mixed
getData()  : mixed
Request data from the GIPHY API
getItem()  : mixed
Retrieve the embedded item of GIPHY
getItems()  : mixed
Get giphy items from the connector with the query given
getUrl()  : mixed
Retrieve the url for a specific endpoint
isEnabled()  : mixed
Determine whether is it enabled or not
isValidUrl()  : mixed
Check for a valid GIPHY URL
search()  : mixed
Search Endpoint
trending()  : mixed
Trending Endpoint

Properties

$base

private mixed $base = 'https://api.giphy.com/v1/'

$endpoints

private mixed $endpoints = ['search' => '/search', 'trending' => '/trending']

Methods

__construct()

public __construct(mixed $fd) : mixed
Parameters
$fd : mixed

getData()

Request data from the GIPHY API

public getData(mixed $type[, mixed $query = false ]) : mixed
Parameters
$type : mixed
$query : mixed = false
Tags
since
4.0.0
access

public

getItem()

Retrieve the embedded item of GIPHY

public getItem(mixed $url) : mixed
Parameters
$url : mixed
Tags
since
1.1.2
access

public

getItems()

Get giphy items from the connector with the query given

public getItems(mixed $query, mixed $type) : mixed
Parameters
$query : mixed
$type : mixed
Tags
since
4.0.0
access

public

getUrl()

Retrieve the url for a specific endpoint

public getUrl(mixed $endpoint, mixed $type) : mixed
Parameters
$endpoint : mixed
$type : mixed
Tags
since
4.0.0
access

public

isEnabled()

Determine whether is it enabled or not

public isEnabled() : mixed
Tags
since
4.0.0
access

public

isValidUrl()

Check for a valid GIPHY URL

public isValidUrl(mixed $url) : mixed
Parameters
$url : mixed
Tags
since
4.0.0
access

public

Search Endpoint

public search(mixed $query) : mixed
Parameters
$query : mixed
Tags
since
4.0.0
access

public

Trending Endpoint

public trending() : mixed
Tags
since
4.0.0
access

public


        
On this page

Search results