1.0.2 • Published 2 years ago
instagramdp v1.0.2
Installation
> npm install instagramdp
Usage
Import
const instagramdp = require("instagramdp");
Using Async/Await!.
async function getProfilePicture() {
const response = await instagramdp.getDP("codewithaadi")
console.log(response);
}
getProfilePicture()
Using Promises!.
instagramdp.getDP("codewithaadi").then(response => console.log(response))