invintus/invintus-api

INVINTUS API SDK for PHP - 在您的PHP项目中使用Invintus公共Web服务

v1.0 2017-01-14 05:51 UTC

This package is auto-updated.

Last update: 2024-09-29 04:31:16 UTC


README

INVINTUS API SDK for PHP - 在您的PHP项目中使用Invintus Web Service API

有关本软件和Invintus Media Inc.的API服务的可接受使用,请参阅API文档

要使用此服务,您必须是Invintus平台客户,并且已注册一个支持API调用的活跃付费账户计划。要注册服务计划或试用Invintus流媒体平台,请联系info@invintus.com

使用composer安装

{
    "require": {
	        "invintus/invintus-api":"v1.0"
    }
}

用法示例

公共API

//instantiate Invintus class
$v3Call = new \Invintus\PublicAPI\Events();
//build call and target endpoint
$v3Data  = $v3Call
            ->setApiKey("yourKey")
            ->setClientID("yourClientID")
            ->setEventID("eventIDtobeQueried")
            ->getDetailed(); //returns full request reply as object 
//displays your call builders params sent to API
$callParams = $v3Call->showCallParamsJson();

要查看API方法、端点和它们的选项的完整列表,请访问https://invintus.api-docs.io/v2.5

CRUD操作仅可通过认证合作伙伴密钥访问。如果您是认证合作伙伴并且需要访问令牌,请联系support@invintus.com