instagram-apis
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "instagram-apis", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Insatgram library filled with useful Instagram API's", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -9,13 +9,12 @@ # Install the package | ||
```javascript | ||
const client = require("instagram-apis")() | ||
async () => { | ||
await client.init({ | ||
username: "USERNAME", | ||
password: "PASSWORD", | ||
}); | ||
try { | ||
} catch (error) { | ||
console.error(JSON.stringify(error.message)); | ||
const lib = require("instagram-apis"); | ||
const client = new lib(); | ||
( | ||
async () => { | ||
await client.init({ | ||
username: "USERNAME", | ||
password: "PASSWORD" | ||
}) | ||
} | ||
}; | ||
)(); | ||
``` | ||
@@ -26,12 +25,11 @@ | ||
```javascript | ||
const client = require("instagram-apis")() | ||
async () => { | ||
await client.init({ | ||
cookie: "COOKIE", | ||
}); | ||
try { | ||
} catch (error) { | ||
console.error(JSON.stringify(error.message)); | ||
const lib = require("instagram-apis"); | ||
const client = new lib(); | ||
( | ||
async () => { | ||
await client.init({ | ||
cookie: "COOKIE" | ||
}) | ||
} | ||
}; | ||
)(); | ||
``` | ||
@@ -38,0 +36,0 @@ |
37559
103