Skip to content
This repository was archived by the owner on Aug 25, 2023. It is now read-only.
/ goinsta Public archive

Unofficial Instagram API written in Golang

License

Notifications You must be signed in to change notification settings

ahmdrz/goinsta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

19ba546 · Mar 23, 2021
Nov 30, 2019
Aug 31, 2020
Aug 10, 2019
Jun 2, 2019
May 13, 2018
Apr 21, 2019
Aug 14, 2019
Aug 10, 2019
Jun 2, 2018
Oct 3, 2019
Mar 23, 2021
Aug 9, 2018
Oct 21, 2020
Mar 9, 2019
Mar 23, 2021
Nov 21, 2018
Aug 10, 2019
May 17, 2018
Jul 30, 2019
Oct 16, 2019
Aug 10, 2019
Jan 28, 2020
Apr 15, 2019
Mar 23, 2021
Jun 10, 2018
Oct 16, 2019
Apr 13, 2020
Apr 21, 2019
Apr 21, 2019
Jun 10, 2018
Mar 23, 2021
Jun 11, 2020
Jun 10, 2018

Repository files navigation

Golang + Instagram Private API

Unofficial Instagram API for Golang

Build Status GoDoc Go Report Card Gitter chat

Features

  • HTTP2 by default. Goinsta uses HTTP2 client enhancing performance.
  • Object independency. Can handle multiple instagram accounts.
  • Like Instagram mobile application. Goinsta is very similar to Instagram official application.
  • Simple. Goinsta is made by lazy programmers!
  • Backup methods. You can use Export and Import functions.
  • Security. Your password is only required to login. After login your password is deleted.
  • No External Dependencies. GoInsta will not use any Go packages outside of the standard library.

Package installation

go get -u -v gopkg.in/ahmdrz/goinsta.v2

Example

package main

import (
	"fmt"

	"gopkg.in/ahmdrz/goinsta.v2"
)

func main() {  
  insta := goinsta.New("USERNAME", "PASSWORD")

  // Export your configuration
  // after exporting you can use Import function instead of New function.
  // insta, err := goinsta.Import("~/.goinsta")
  // it's useful when you want use goinsta repeatedly.
  insta.Export("~/.goinsta")

  ...
}

Projects using goinsta

Legal

This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by Instagram or any of its affiliates or subsidiaries. This is an independent and unofficial API. Use at your own risk.

Versioning

Goinsta used gopkg.in as versioning control. Stable new API is the version v2.0. You can get it using:

$ go get -u -v gopkg.in/ahmdrz/goinsta.v2

Or

If you have GO111MODULE=on

$ go get -u github.com/ahmdrz/goinsta/v2

Donate

Ahmdrz

btc Bitcoin: 1KjcfrBPJtM4MfBSGTqpC6RcoEW1KBh15X

Mester

btc Bitcoin: 37aogDJYBFkdSJTWG7TgcpgNweGHPCy1Ks

Analytics