承接 guillaumebarranco/kebhub-api 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

guillaumebarranco/kebhub-api

Composer 安装命令:

composer require guillaumebarranco/kebhub-api

包简介

First version of Kebhub API for tests

README 文档

README

A Repository for out Kebhub API utilisation

$settings = array( 'client_id' => "YOUR CLIENT ID", 'secret_id' => "YOUR SECRET ID", 'api_key' => "YOUR API KEY" );
$type = 'twitter'; // choices : "twitter", "instagram", "all"
$fields = 'all'; // choices : "text, picture, date, title, type, link" OR "all"
$limit = '3'; // choices every number more than "0"

$kebhub = new KebhubAPIGet($settings); // Launch the API class with your settings

$access_token = $kebhub->getAccessToken(); // Get your access token 

$url = 'http://kebhub.com/api/get/'.$type.'/'.$limit.'/'.$fields.'?access_token='.$access_token; 
// Make the url request with your settings and     access_token

$json = $kebhub->performRequest($url, true); // ¨Perform the request and it's done !
$datas = json_decode($json, true);

统计信息

  • 总下载量: 17
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GNU
  • 更新时间: 2015-03-06