Skip to content

Heello/heello-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About the Project

The Heello API library provides simple-to-use access to the Heello API and takes care of all the OAuth headaches for you.

** Note: Currently in beta as we build out more support. More documentation and updates coming soon.

Dependencies

  • PHP >= 5.3
  • HTTP_Request2

Examples

Getting Some Information from the API

<?
// Get these from https://developer.heello.com/ by logging in and creating an application
require_once('Heello.php')

$heello = new Heello\Client($client_id, $client_secret);

// If we need to make auth'd calls, and already have a user
// that is logged in, we can do this. Otherwise, it's not required.
Heello\Client::config()->set_access_token($access_token);
Heello\Client::config()->set_refresh_token($refresh_token);

// An auth'd call
$me = $heello->users->me();

// A non-auth'd call
$user = $heello->users->show(array(
  'id' => 3
));

For more examples see '/examples'

Contributors

About

PHP library for accessing the full Heello API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages