Files
Wrench-ApiTester/public/myfit/tracking_weight.php
T
dev-chiefworks 7d830711b3 New files
2023-04-30 20:25:08 -04:00

23 lines
587 B
PHP

<?php
include_once 'CONFIGURE.php';
include 'myfit_class.php';
$myfit_class = new myfit_class();
$data['member_id'] = $member_id;
$data['session_token'] = $session_token;
$data['member_uuid'] = $guid;
$data['loc'] = "38.101.241.200";
$data['sessionid'] = $session_token;
$data['code'] = 'WEIGT';
$data['unit'] = 'KG';
$data['val1'] = 135 + rand(0,12);
$data['event_time'] = randomDate('2023-02-01 00:29', '2023-02-28 22:29');
$out = array();
$ret = $myfit_class->myfit_api("tracking",$data,$out);
var_dump($data);
var_dump($out);
echo highlight_string(file_get_contents(__FILE__));