Skip to content

Instantly share code, notes, and snippets.

@tlovett1
Created August 27, 2013 19:46
Show Gist options
  • Save tlovett1/6358163 to your computer and use it in GitHub Desktop.
Save tlovett1/6358163 to your computer and use it in GitHub Desktop.
guzzle
<?php
require_once 'vendor/autoload.php';
use Guzzle\Http\Client;
$client = new Client( 'http://www.pehub.com/feed/' );
$request = $client->get();
$response = $request->send();
$result = $response->getBody();
echo '<pre>';
var_dump( $result );
echo '</pre>';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment