All Projects → ivolimasilva → Public Instagram

ivolimasilva / Public Instagram

Licence: gpl-3.0
Tool to fetch Instagram's public content.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Public Instagram

Socialmanagertools Gui
🤖 👻 Desktop application for Instagram Bot, Twitter Bot and Facebook Bot
Stars: ✭ 293 (+581.4%)
Mutual labels:  scraper, instagram, puppeteer
instagram-get-images
Instagram get images 🌄 (hashtags, account, locations) with puppeteer
Stars: ✭ 69 (+60.47%)
Mutual labels:  instagram, scraper, puppeteer
Instagram Scraper
Scrapes an instagram user's photos and videos
Stars: ✭ 5,664 (+13072.09%)
Mutual labels:  scraper, instagram
Headless Chrome Crawler
Distributed crawler powered by Headless Chrome
Stars: ✭ 5,129 (+11827.91%)
Mutual labels:  scraper, puppeteer
Instagram4j
📷 Instagram private API in Java
Stars: ✭ 629 (+1362.79%)
Mutual labels:  scraper, instagram
Instapy Cli
✨ Python library and CLI to upload photo and video on Instagram. W/o a phone!
Stars: ✭ 498 (+1058.14%)
Mutual labels:  api, instagram
Googledictionaryapi
Google does not provide Google Dictionary API so I created one.
Stars: ✭ 528 (+1127.91%)
Mutual labels:  api, scraper
Instagram Api
Instagram's private API
Stars: ✭ 5,168 (+11918.6%)
Mutual labels:  api, instagram
Osi.ig
Information Gathering Instagram.
Stars: ✭ 377 (+776.74%)
Mutual labels:  scraper, instagram
Instagram Web Api
🤳 Instagram Private Web API client for Node
Stars: ✭ 694 (+1513.95%)
Mutual labels:  api, instagram
Socialmanagertools Igbot
🤖 📷 Instagram Bot made with love and nodejs
Stars: ✭ 699 (+1525.58%)
Mutual labels:  instagram, puppeteer
Goinsta
Unofficial Instagram API written in Golang
Stars: ✭ 733 (+1604.65%)
Mutual labels:  api, instagram
Instagram
An easy-to-use and simple Instagram package
Stars: ✭ 496 (+1053.49%)
Mutual labels:  api, instagram
Finviz
Unofficial API for finviz.com
Stars: ✭ 493 (+1046.51%)
Mutual labels:  api, scraper
Jikan
Unofficial MyAnimeList PHP+REST API which provides functions other than the official API
Stars: ✭ 531 (+1134.88%)
Mutual labels:  api, scraper
React Native Vision Camera
📸 The Camera library that sees the vision.
Stars: ✭ 443 (+930.23%)
Mutual labels:  api, instagram
Swiftinstagram
Instagram API client written in Swift
Stars: ✭ 570 (+1225.58%)
Mutual labels:  api, instagram
Tools For Instagram
Automation scripts for Instagram
Stars: ✭ 274 (+537.21%)
Mutual labels:  api, instagram
Voyages Sncf Api
A scrapy spider that scraps times and prices from Voyages Sncf. It uses scrapyrt to provide an API interface.
Stars: ✭ 7 (-83.72%)
Mutual labels:  api, scraper
Instagram Crawler
Get Instagram posts/profile/hashtag data without using Instagram API
Stars: ✭ 643 (+1395.35%)
Mutual labels:  scraper, instagram

public-instagram

unit test

Tool to fetch Instagram's public content.

Features

  • Fetch any public posts (images only)
  • Search for hashtags and get information
  • Fetch recent posts by hashtag
  • Search for user's (public) information
  • Fetch posts by (public) user

Installing

Using npm

npm i public-instagram

Using npm (& git):

npm i https://github.com/ivolimasilva/public-instagram.git

Examples

import instagram from 'public-instagram';

// Async function in order to use await
async function example() {

    // Get information about hashtag
    const info = await instagram.tags.info('instagram');
    console.log(info);

    // Get the 1000 most recent posts that contain an hashtag
    const posts = await instagram.tags.recent('instagram', 1000);
    console.log(posts.length);

    // Get the most popular posts that contain an hashtag
    const posts = await instagram.tags.top('instagram');
    console.log(posts);

    // Search hashtags by a string field
    const hashtags = await instagram.tags.search('instagram');
    console.log(hashtags);

    // Get media by shortcode
    const post = await instagram.media.get('BP-rXUGBPJa');
    console.log(post);

    // Get the 1000 most recent comments of that post
    const comments = await instagram.media.comments('BP-rXUGBPJa', 1000);
    console.log(comments);

    // Get information about a public user
    const user = await instagram.users.info('instagram');
    console.log(user);

    // Get all posts from a public user
    const posts = await instagram.users.posts('instagram');
    console.log(posts.length);

};

example();

Async/Await

public-instagram uses Async/Await. In order to use it as intended, you need atleast Node v7.6.

Resources

License

GPL-3.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].