Skip to content
Branch: master
Find file Copy path
Find file Copy path
2 contributors

Users who have contributed to this file

@ptkdev @MoltenKH0R
57 lines (44 sloc) 1.85 KB

πŸ“Œ index / πŸ“· igbot / πŸ“š api

πŸ•Ή Get started

Install npm package and run sample if you want to start using this api.

Example (with flow login)

const config = require ("./config");
const Bot = require("@socialmanagertools/igbot");
let bot = new Bot(config);

(async () => {
	await bot.start();

	let api = await bot.api();

	let response = await api.login.flow();

	if (response.status) {
		response = await api.twofa.flow();

	if (response.status) {
		// Here you are logged...
		// Calls your personal api flow here, example:
		// await api.goto.profile("ptkdev");
		// response = await"profile");
		// console.log(response.username);

	await bot.stop();

πŸ“Ž API Index

Instagram api manual:

🎁 Support: Donate

πŸ’« License

  • Documentation and Contributions have CC BY 4.0 License
  • Images and Logos have CC BY-NC 4.0 License
  • Code Snippets/Examples have MIT License
Copyleft (c) 2018-2019 Patryk RzucidΕ‚o (@PTKDev) <>
You can’t perform that action at this time.