jworksuk/instagram-api
最新稳定版本:v1.0.4
Composer 安装命令:
composer require jworksuk/instagram-api
包简介
README 文档
README
Structure
If any of the following are applicable to your project, then the directory structure should follow industry best practices by being named the following.
bin/
build/
docs/
config/
src/
tests/
vendor/
Install
Via Composer
$ composer require jworksuk/instagram-api
Usage
See /examples directory
$sessionId = new GuzzleHttp\Cookie\SetCookie([ "Name" => 'sessionid', "Value" => 'ak91F09c_6sADwlo', // example "Domain" => ".instagram.com", "Path" => "/", "Expires" => '2026-01-01 00:00:00', // example "Max-Age" => "31536000", "Secure" => true, "Discard" => false, "HttpOnly" => false, ]); $cookieJar = new GuzzleHttp\Cookie\CookieJar(false, [$sessionId]); $instagramApiClient = new JWorksUK\InstagramApi\Client( new GuzzleHttp\Client(), $cookieJar ); $stories = $instagramApiClient->getStoriesByProfileIds([25025320]);
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email me@jworksuk.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 23
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-04-06