2017 © Pedro Peláez
 

library baidu-tieba-sign-library

baidu tieba sign library

image

limingxinleo/baidu-tieba-sign-library

baidu tieba sign library

  • Saturday, October 14, 2017
  • by limingxinleo
  • Repository
  • 2 Watchers
  • 4 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 14 % Grown

The README.md

baidu-tieba-sign-library

百度贴吧 签到扩展包, (*1)

安装

composer require limingxinleo/baidu-tieba-sign-library

使用

<?php 
use Yi\Baidu\Application;

$client = new Application([
    'bduss' => $bduss,
    'nickname' => 'Your Nick Name'
]);

$result = $client->user->flushTiebas();
$this->assertTrue(count($result) > 0);

/** @var \Yi\Baidu\User\Tieba $item */
foreach ($result as $item) {
    $res = $item->sign();
    $this->assertTrue($res['no'] === 0 || $res['no'] === 1101);
}

配置

bduss: 登录百度贴吧网页,打开F12,从cookies中找到BDUSS
nickname:就是你的昵称

The Versions

14/10 2017

dev-master

9999999-dev

baidu tieba sign library

  Sources   Download

MIT

The Requires

 

The Development Requires

by 李铭昕

14/10 2017

0.1.2

0.1.2.0

baidu tieba sign library

  Sources   Download

MIT

The Requires

 

The Development Requires

by 李铭昕

13/10 2017

0.1.1

0.1.1.0

baidu tieba sign library

  Sources   Download

MIT

The Requires

 

The Development Requires

by 李铭昕

13/10 2017

0.1.0

0.1.0.0

baidu tieba sign library

  Sources   Download

MIT

The Requires

 

The Development Requires

by 李铭昕