2017 © Pedro Peláez
 

library yo

Yo API PHP Package

image

websoftwares/yo

Yo API PHP Package

  • Monday, September 15, 2014
  • by Websoftwares
  • Repository
  • 0 Watchers
  • 3 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

Yo (v0.2.1)

This package lets u perform actions on the Yo Developers API., (*1)

Build Status Scrutinizer Code Quality Code Coverage Dependencies Status, (*2)

It has no extra dependencies but it can play nice with other curl or http clients by creating an adapter just implement the YoClientInterface and inject it into the Yo class., (*3)

Documentation

We encourage you to read the documentation carefully before proceeding., (*4)

Install composer in your project:, (*5)

curl -s http://getcomposer.org/installer | php

Create a composer.json file in your project root:, (*6)

{
    "require": {
        "websoftwares/yo": "~0.2"
    }
}

Install via composer, (*7)

php composer.phar install

Usage

Basic usage of the Yo class., (*8)

use Websoftwares\YoClient, Websoftwares\Yo;

// apiKey
$apiKey = 'obtain-valid-api-key-from-yo';

// Instantiate class
$Yo = new Yo(new YoClient($apiKey));

// Perform method
$yo->all();

all();

This will yo all your subscribers, (*9)

$yo->all();

(optional) provide a link argument This will yo all your subscribers with a link, (*10)

$yo->all("yo.websoftwar.es");

user();

This will yo an individual user, (*11)

$yo->user("BORIS010");

(optional) provide a link argument This will yo an individual user with a link, (*12)

$yo->user("BORIS010", "yo.websoftwar.es");

subscribersCount();

Returns the amount of subscribers, (*13)

$yo->subscribersCount();

Testing

In the tests folder u can find several tests., (*14)

Goals

  • Unit testing 100%
  • PSR compliance
  • Implement new methods from Yo API when they are available

License

The MIT License (MIT)., (*15)

The Versions

15/09 2014

dev-master

9999999-dev

Yo API PHP Package

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-curl *

 

The Development Requires

by Boris Verhaaff

api notification communication yo

15/09 2014

0.2.1

0.2.1.0

Yo API PHP Package

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-curl *

 

The Development Requires

by Boris Verhaaff

api notification communication yo

14/09 2014

0.2.0

0.2.0.0

Yo API PHP Package

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-curl *

 

The Development Requires

by Boris Verhaaff

api notification communication yo

26/08 2014

0.1.4

0.1.4.0

Yo API PHP Package

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-curl *

 

The Development Requires

by Boris Verhaaff

api notification communication yo

26/08 2014

0.1.3

0.1.3.0

Yo API PHP Package

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-curl *

 

The Development Requires

by Boris Verhaaff

api notification communication yo

25/08 2014

0.1.2

0.1.2.0

Yo API PHP Package

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-curl *

 

The Development Requires

by Boris Verhaaff

api notification communication yo

25/08 2014

0.1.1

0.1.1.0

Yo API PHP Package

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-curl *

 

The Development Requires

by Boris Verhaaff

api notification communication yo

25/08 2014

0.1

0.1.0.0

Yo API PHP Package

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-curl *

 

The Development Requires

by Boris Verhaaff

api notification communication yo