ironico / YoPHP

Yo PHP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

?>

About

Yo PHP

License:MIT License


Languages

Language:PHP 100.0%