2017 © Pedro Peláez
 

library yoapp-php

PHP wrapper for Yo app API (justyo.co)

image

chekalskiy/yoapp-php

PHP wrapper for Yo app API (justyo.co)

  • Saturday, February 21, 2015
  • by chekalskiy
  • Repository
  • 2 Watchers
  • 9 Stars
  • 25 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Yo logo Yo API

PHP wrapper for Yo App API (http://justyo.co), (*1)

Yo API documentation, (*2)

Installation

You can install yoapp-php by using Composer, (*3)

"require": {
    "chekalskiy/yoapp-php": "~1.0"
}

Example

First of all you need to register your own personal Yo account using your mobile phone. Then create new api account with any other username., (*4)

Then replace {API_TOKEN} with your own token., (*5)

try {
    $yo = new \che\Yo({API_TOKEN});

    // send a yo to all subscribers
    $yo->sendAll(array('link' => 'http://example.com'));
} catch (\che\YoException $e) {
    echo "Error #" . $e->getCode() . ": " . $e->getMessage();
}

You can find more examples in examples directory., (*6)

The Versions

21/02 2015

dev-master

9999999-dev https://github.com/chekalskiy/yoapp-php

PHP wrapper for Yo app API (justyo.co)

  Sources   Download

MIT

The Requires

  • ext-curl *

 

api yo yoapp justyo.co

21/02 2015

1.0.1

1.0.1.0 https://github.com/chekalskiy/yoapp-php

PHP wrapper for Yo app API (justyo.co)

  Sources   Download

MIT

The Requires

  • ext-curl *

 

api yo yoapp justyo.co

21/02 2015

v1.0.0

1.0.0.0 https://github.com/chekalskiy/yoapp-php

PHP wrapper for Yo app API (justyo.co)

  Sources   Download

MIT

The Requires

  • ext-curl *

 

api yo yoapp justyo.co