Skip to content
Yo PHP
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
yo.php

README.md

Send Yo with php

Get your API Token: Yo Dev

Example

<?php
 
require('yo.php');

// Get an API Key at dev.justyo.co
$apiKey = 'YOUR_API_KEY';

// Instanciate
$yo = new Yo($apiKey);

// Send a Yo to all your subscribers
$yo->all();

// Send a Yo  with a link to all your subscribers
$yo->all("LINK");

// Send a Yo with Link to one user
$yo->user("USERNAME","LINK"); 

// Send a Yo message to one user
$yo->msg("USERNAME","Hi, This is a message..");

// Send a Yo with Location to one user
$yo->user("USERNAME","40.8497051","14.2198926"); 

// Get number of subscribers
$count = $yo->subscribers_count();  

?>
You can’t perform that action at this time.