Skip to content

delznet/ys7-php-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

萤石云开放平台PHP SDK

代码Demo

<?php

use Delz\Ys7\Client;
use Redis as PHPRedis;
use Delz\Cache\Provider\Redis;

$loader = require __DIR__ . "/../vendor/autoload.php";

$redis = new PHPRedis();
$redis->connect('127.0.0.1',6379);
$cache = new Redis($redis);

$ys7 = new Client('ApiKey','ApiSecret', $cache);
echo "AccessToken=".$ys7->getAccessToken() . "\n";
echo "Camera List:\n";
print_r($ys7->getCameraList());

About

萤石云开放平台PHP SDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages