定制 instagramscraperapi/php-sdk 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

instagramscraperapi/php-sdk

Composer 安装命令:

composer require instagramscraperapi/php-sdk

包简介

Instagram scraper, with support for users, medias, tags and locations. Proxified by Residential and Mobile IPs.

README 文档

README

Latest Stable Version Total Downloads License

Instagram scraper, with support for users, medias, tags, comments and locations. Proxified by Residential and 4G Proxies.

Get a public users data, media, or search for a specific tag or location, without having to register an app.

Since this library uses the web version of Instagram to scrape content, it can break at any time should the returned source code for these pages change.

Proxified for Instagram Scraper API use a intelligent proxy balancing to better data get and no blocking, success rate is very high.

Requirements

  • Instagram Scraper API
  • PHP 5.6.0 or higher

Installation

composer require instagramscraperapi/php-sdk

Usage

Starting API

Informe your Rapid API Key

$is = new InstagramScraperAPI\InstagramScraper('API-KEY');

Getting a public users data

Returns all public data from an Instagram profile.

// by Username
$result = $is->getProfileByUsername('nike');

// by URL
$result = $is->getProfileByURL('https://www.instagram.com/nike/');

Getting medias

Returns all public medias.

// by User Id
$result = $is->getMedias(13460080);

// by public Hashtag
$result = $is->getMediaByHashtag('travel');

// by public Place
$result = $is->getMediaByLocation(108424279189115);

Getting a media data

Returns a specific public media data.

// by Media Shortcode
$result = $is->getMediaByCode('CMe3AQxnhmd');

// by Media URL
$result = $is->getMediaByUrl('https://www.instagram.com/p/CMnW2SBMKiu/');

Getting search results

Returns a list of users, tags or locations

// by Hashtags
$result = $is->searchHashtags('travel');

// by Location
$result = $is->searchLocations('New york');

// by Userame
$result = $is->searchUsers('nik');

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-04-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固