2017 © Pedro Peláez
 

library sweettooth-php

Sweet Tooth PHP Library

image

sweettooth/sweettooth-php

Sweet Tooth PHP Library

  • Wednesday, August 20, 2014
  • by sweettooth
  • Repository
  • 25 Watchers
  • 3 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Installation

Get the latest version of the Sweet Tooth PHP library with:, (*1)

git clone https://github.com/sweettooth/sweettooth-php

To get started, add the following to your PHP script:, (*2)

require_once("/path/to/sweettooth-php/lib/SweetTooth.php");

Simple usage looks like:, (*3)

SweetTooth::setApiKey('sk_gUjtToMzKybHZ3yGg3C4Sv4L');
$newCustomerData = array(
    'first_name' => 'Wayne', 
    'last_name' => 'Rooney', 
    'email' => 'wrooney@example.com'
);
$customer = SweetTooth_Customer::create($newCustomerData);
echo $customer;

Documentation

Please see https://www.sweettoothrewards.com/api for up-to-date documentation., (*4)

Acknowledgements

Inspired by Stripe PHP, (*5)

The Versions

20/08 2014

dev-master

9999999-dev https://www.sweettoothrewards.com/

Sweet Tooth PHP Library

  Sources   Download

MIT

The Requires

  • php >=5.2
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

points sweettooth customer loyalty

04/04 2014

dev-adding_ping_resource

dev-adding_ping_resource https://www.sweettoothrewards.com/

Sweet Tooth PHP Library

  Sources   Download

MIT

The Requires

  • php >=5.2
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

points sweettooth customer loyalty

03/04 2014

dev-vlad_add_submodule_sweettooth_sdk

dev-vlad_add_submodule_sweettooth_sdk https://www.sweettoothrewards.com/

Sweet Tooth PHP Library

  Sources   Download

MIT

The Requires

  • php >=5.2
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

points sweettooth customer loyalty