Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codedotjs/basic-instagram-user-details
:sparkles: A simple API to scrap basic details of an Instagram user
https://github.com/codedotjs/basic-instagram-user-details
api api-wrapper instagram instagram-api instagram-nodejs nodejs scraper
Last synced: about 1 month ago
JSON representation
:sparkles: A simple API to scrap basic details of an Instagram user
- Host: GitHub
- URL: https://github.com/codedotjs/basic-instagram-user-details
- Owner: CodeDotJS
- License: mit
- Created: 2018-05-04T07:16:20.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T07:34:33.000Z (about 2 years ago)
- Last Synced: 2024-12-11T22:27:55.738Z (about 2 months ago)
- Topics: api, api-wrapper, instagram, instagram-api, instagram-nodejs, nodejs, scraper
- Language: JavaScript
- Homepage:
- Size: 26.4 KB
- Stars: 14
- Watchers: 4
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
⚫
A simple API to scrap details of any Instagram user## Install
```
$ npm install --save basic-instagram-user-details
```## Usage
__`User ID`__
```js
const bud = require('basic-instagram-user-details');const user = 'iama_rishi';
bud(user, 'id').then(id => {
console.log(id);
// => { data: '259220806' }
});
```__`OR`__
```js
bud(user, 'id').then(res => {
const userId = res.data;
console.log(userId);
// => 259220806
});
```## Example
__`Full Name`__
```js
bud(user, 'fullname').then(fullname => {
console.log(fullname);
// => { data: 'Rishi Giri' }
});
```## API
```js
bud('username', 'options')
````username` `:` __`string`__
`options` `:` __`string`__
| __`Options`__ | __`Output`__ |
|--------------------|---------------|
| __`id`__ | `string` |
| __`fullname`__ | `string` |
| __`username`__ | `string` |
| __`bio`__ | `string` |
| __`externalUrl`__ | `string` |
| __`linkshimmed`__ | `string` |
| __`posts`__ | `string` |
| __`followers`__ | `string` |
| __`following`__ | `string` |
| __`private`__ | `boolean` |
| __`verified`__ | `boolean` |
| __`connected`__ | `object` |### Why?
Why? Because Instagram is fucking up with everything.
## Related
- __[`instavim`](https://github.com/CodeDotJS/instavim)__ `:` `Command line Instagram media downloader.`
- __[`istalk`](https://github.com/CodeDotJS/instafy)__ `:` `Stalk Instagram users from the command line!`
- __[`instagram-id-of`](https://github.com/CodeDotJS/instagram-id-of)__ `:` `Find UserID of any Instagram user from command line!`
- __[`instagram-profile-picture`](https://github.com/CodeDotJS/instagram-profile-picture)__ `:` `An API to get url to the profile picture and other Instagram medias.`
- __[`instagram-links`](https://github.com/CodeDotJS/Instagram-links)__ `:` `Get links to the publically shared media on Instagram.`## License
MIT © [Rishi Giri](http://rishigiri.ml);