Skip to content

ironico/YoPHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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();  

?>

Releases

No releases published

Packages

No packages published

Languages