承接 netzmacht/tapatalk-client-api 相关项目开发

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

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

netzmacht/tapatalk-client-api

Composer 安装命令:

composer require netzmacht/tapatalk-client-api

包简介

Tapatalk client library

README 文档

README

This library provides the client API for Tapatalk written in PHP.

Install

To install the libary use compser:

composer.phar require netzmacht/tapatalk-client-api

Usage

The library does not use the exact method names as tapatalk does. You can see which methods are invoked by the @see annotation in the source code. Its basically group the methods by the entities which are return or affected.

<?php

// you don't have to use user credentials. if not passed not all features are available
$client = Netzmacht\Tapatalk\Factory::connect('http://example.com/forum/mobiquo/mobiquo.php', 'user', 'password');

// check if private messages are available
$client->config()->isPushTypeEnabled(Netzmacht\Tapatalk\Api\Config::PUSH_PRIVATE_MESSAGE);

$searchResult = $client->posts()->advancedSearch(array(
       Netzmacht\Tapatalk\Api\Search\AdvancedSearch::KEYWORDS => 'my keywords',
       Netzmacht\Tapatalk\Api\Search\AdvancedSearch::USERNAME => 'myuser',
       Netzmacht\Tapatalk\Api\Search\AdvancedSearch::ONLY_IN  => array(12, 43, 10), // forum ids
   )
   20, // limit
   60,  // offset
);

$searchResult->getTotal(); // total posts. useful to
$searchResult->hasMore(); // returns true if given result is not as big as total posts

foerach($searchResult as $post) {
    $post->getAuthor()->getUsername();
}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-08-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固