smochin/instagram-php-crawler
最新稳定版本:1.0.1
Composer 安装命令:
composer require smochin/instagram-php-crawler
包简介
A simple PHP Crawler for Instagram
关键字:
README 文档
README
A simple PHP Crawler for Instagram.
Installation
Package is available on Packagist, you can install it using Composer.
composer require smochin/instagram-php-crawler
Dependencies
- PHP 7
- json extension
- cURL extension
Get started
Initialize the Crawler
$crawler = new Smochin\Instagram\Crawler();
Get a list of recently tagged media
$media = $crawler->getMediaByTag('php');
Get a list of recent media from a given location
$media = $crawler->getMediaByLocation(225963881);
Get the most recent media published by a user
$media = $crawler->getMediaByUser('instagram');
Get information about a media
$media = $crawler->getMedia('0sR6OhmwCQ');
Get information about a user
$user = $crawler->getUser('jamersonweb');
Get information about a location
$location = $crawler->getLocation(225963881);
Get information about a tag
$tag = $crawler->getTag('php');
Search for hashtags, locations and users
$result = $crawler->search('recife');
统计信息
- 总下载量: 9.43k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 46
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2016-11-15