PHP Classes

File: examples/getBalance.php

Recommend this page to a friend!
  Classes of Rohit Arya   Villaments PHP WhatsApp API   examples/getBalance.php   Download  
File: examples/getBalance.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Villaments PHP WhatsApp API
Interact with WhatsApp using the Villaments API
Author: By
Last change:
Date: 3 years ago
Size: 241 bytes
 

Contents

Class file image Download
<?php
require_once('../includes/curl.php');
require_once(
'../includes/whatsapp.php');
$wa=new Whatsapp();
$api_key='XXXXXXXXXXXXX'; // Key received at the time of account creation
$res=$wa->getWhatsappBalance($api_key);
echo
$res;
?>