thoughtchimp/zembed-php-wrapper

This package is abandoned and no longer maintained. No replacement package was suggested.

Zembed api php wrapper

Maintainers

Package info

github.com/thoughtchimp/zembed-php-wrapper

pkg:composer/thoughtchimp/zembed-php-wrapper

Statistics

Installs: 71

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.1 2017-12-13 09:47 UTC

This package is not auto-updated.

Last update: 2020-05-29 19:50:35 UTC


README

This repository contains the open source PHP SDK that allows you to access the Zembed API from your PHP app.

Installation

The Zembed SDK can be installed with Composer. Run this command:

composer require thoughtchimp/zembed-php-wrapper

Usage

Note: This version of the Zembed SDK for PHP requires PHP 5.5 or greater.

Instantiating SDK

use Zembed\API;

$api = API('Pass api_key here');

Get single embed

$embed = $api->embed('http://thoughtchimp.com');

Get multiple embeds

$embeds = $api->embeds([
    'http://rohitkhatri.com',
    'http://thoughtchimp.com',
    'https://google.com'
]);

Complete documentation is available here.