Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kevva/instagram-user

Get Instagram user info
https://github.com/kevva/instagram-user

api instagram nodejs user

Last synced: 9 days ago
JSON representation

Get Instagram user info

Awesome Lists containing this project

README

        

# instagram-user [![Build Status](https://travis-ci.org/kevva/instagram-user.svg?branch=master)](https://travis-ci.org/kevva/instagram-user)

> Get Instagram user info

## Install

```
$ npm install instagram-user
```

## Usage

```js
const instagramUser = require('instagram-user');

(async () => {
console.log(await instagramUser('unicorns'));
//=> {description: 'A wonderful description', email: '[email protected]', ...}
})();
```

## API

### instagramUser(username)

Returns a `Promise` with the user information.

#### username

Type: `string`

Instagram username.