承接 smochin/instagram-php-crawler 相关项目开发

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

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

smochin/instagram-php-crawler

最新稳定版本:1.0.1

Composer 安装命令:

composer require smochin/instagram-php-crawler

包简介

A simple PHP Crawler for Instagram

README 文档

README

Join the chat at https://gitter.im/smochin/instagram-php-crawler Total Downloads Latest Stable Version Branch master Build Status

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

GitHub 信息

  • Stars: 45
  • Watchers: 8
  • Forks: 17
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2016-11-15