定制 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
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固