Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/preethamvishy/instapro
A Node.js library to get a wide range of public Instagram data without API keys or logging in. https://www.npmjs.com/package/instapro
https://github.com/preethamvishy/instapro
instagram instagram-api instagram-client instagram-scraper node nodejs social-media
Last synced: about 3 hours ago
JSON representation
A Node.js library to get a wide range of public Instagram data without API keys or logging in. https://www.npmjs.com/package/instapro
- Host: GitHub
- URL: https://github.com/preethamvishy/instapro
- Owner: preethamvishy
- License: mit
- Created: 2018-02-24T15:19:53.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T16:01:10.000Z (almost 2 years ago)
- Last Synced: 2024-10-07T16:48:49.614Z (30 days ago)
- Topics: instagram, instagram-api, instagram-client, instagram-scraper, node, nodejs, social-media
- Language: JavaScript
- Homepage:
- Size: 32.2 KB
- Stars: 55
- Watchers: 5
- Forks: 18
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# instapro 🚀
Get the widest range of Instagram data possible without Instagram API keys or logging in. A Node.js library that supports more endpoints than similar libraries without authentication.
https://www.npmjs.com/package/instapro
![instapro](https://snag.gy/oRpmfX.jpg)
#### Data available
- Users' data
- Get User ID from username
- Users' media
- General search
- Media search by tag
- Media search by location
- Media search by shortcode
- Likes and comments for media by shortcode
- Tagged users in media by shortcode
- Media owner data by media shortcode
- Profile picture URL from username#### Usage
Instapro can be installed via npm: `npm install instapro --save`
`Example.js` provides examples of each supported endpoint.
```javascript
const {
getMediaByCode,
getUserByUsername,
getMediaByLocation,
getMediaByTag,
getMediaLikesByCode,
getMediaCommentsByCode,
generalSearch,
getUserIdFromUsername,
getUserProfilePicture,
getTaggedUsersByCode,
getMediaOwnerByCode
} = require('./index');getUserByUsername('instagram').then((user) => {
console.log(user)
})getUserIdFromUsername('instagram').then((id) => {
console.log(id)
})getMediaByCode('BUu14BdBkO5').then(media => {
console.log(media)
})getMediaOwnerByCode('BUu14BdBkO5').then(media => {
console.log(media)
})getMediaByLocation('292188415').then(({ location }) => {
console.log(location.id)
console.log(location.name)
console.log(location.slug)
})getMediaByTag('abcd').then((media) => {
console.log(media)
})generalSearch('insta').then((results) => {
console.log(results)
})getUserProfilePicture('instagram').then((url) => {
console.log(url)
})getMediaLikesByCode('BUu14BdBkO5').then((media) => {
console.log(media)
})getMediaCommentsByCode('BUu14BdBkO5').then((media) => {
console.log(media)
})getTaggedUsersByCode('BUu14BdBkO5').then((media) => {
console.log(media)
})
```## License
MIT