Skip to content

Files

Latest commit

 

History

History
51 lines (33 loc) · 1.63 KB

README.md

File metadata and controls

51 lines (33 loc) · 1.63 KB

Instagram

instagram

An easy-to-use and simple Instagram package.

use Vinkla\Instagram\Instagram;

// Create a new instagram instance.
$instagram = new Instagram();

// Fetch the media feed.
$instagram->get('jerryseinfeld');

Build Status StyleCI Coverage Status Latest Version License

Installation

Require this package, with Composer, in the root directory of your project.

$ composer require vinkla/instagram

Usage

First you need to create a new Vinkla\Instagram\Instagram instance.

use Vinkla\Instagram\Instagram;

$instagram = new Instagram();

Then to fetch the data you can use the get() method.

$instagram->get('jerryseinfeld');

To preview the JSON data you can visit the page in your browser.

License

MIT © Vincent Klaiber