Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 507 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 507 Bytes

thatsup-php

A PHP wrapper for the Thatsup API.

Installation

Install the library using Composer. Please read the Composer Documentation if you are unfamiliar with Composer or dependency managers in general.

"require": {
    "thatsup/thatsup-php": "~1.0"
}

Example usage

Create a Thatsup instance and get place by id.

$thatsup = new Thatsup\Thatsup($apiKey);
$place = $thatsup->get('/place', [ 'id' => $placeId ])->data();