Unofficial Instagram API written in Golang
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2020-01-25 14:39:47 +01:00
docs index.md for github pages [ci skip] 2019-11-30 12:08:42 +03:30
examples add upload photo example 2020-01-25 13:07:52 +01:00
tests Feedtag test (#265) [skip ci] 2019-08-10 18:54:39 +04:30
utilities update examples/utilities/mod file 2019-06-02 09:13:26 +04:30
.gitignore Updated gitignore and added media comments 2018-05-13 16:58:30 +00:00
.travis.gofmt.sh remove examples, goinsta and util directories. 2019-04-21 11:31:30 +04:30
.travis.yml Go tests will run only on non-pull requests [ci skip] 2019-08-14 13:55:49 +04:30
account.go add archived feed (#257) 2019-07-17 21:21:54 +04:30
activity.go Use int64 type for long integers where neccessary (#1) 2018-08-09 16:05:01 +02:00
challenge.go Verify API Support (#198) 2019-10-16 16:56:28 +03:30
comments.go Remove not used import 2019-03-09 23:31:52 +01:00
const.go fix upload feature 2020-01-23 01:57:54 +01:00
contacts.go Constacts synchronization added (#184) 2018-11-21 09:08:46 +03:30
CONTRIBUTING.md Feedtag test (#265) [skip ci] 2019-08-10 18:54:39 +04:30
feeds.go Feedtag test (#265) [skip ci] 2019-08-10 18:54:39 +04:30
generator.go Deleted unneeded generator vars 2018-05-17 14:07:42 +00:00
go.mod Update go module [skip ci] 2019-07-30 16:15:39 +04:30
goinsta.go update cookie url to base url in order to upload photo with cookies loaded 2020-01-25 14:39:47 +01:00
hashtags.go Feedtag test (#265) [skip ci] 2019-08-10 18:54:39 +04:30
inbox.go Update inbox.go 2019-03-09 23:31:36 +01:00
LICENSE Create LICENSE 2018-06-03 00:26:38 +02:00
location.go replace Media struct in Location Feeds 2019-04-15 08:06:33 +04:30
media.go add upload photo example 2020-01-25 13:07:52 +01:00
profiles.go [Update] golint fixes reported by goreportcard.com (#135) 2018-06-10 12:15:41 +04:30
README.md Add project to readme (#274) [skip-ci] 2019-10-03 17:28:26 +03:30
request.go Verify API Support (#198) 2019-10-16 16:56:28 +03:30
search.go count in user-search query 2019-07-29 09:52:23 +04:30
shortid.go shortid added 2019-04-21 10:32:23 +04:30
shortid_test.go shortid added 2019-04-21 10:32:23 +04:30
timeline.go [Update] golint fixes reported by goreportcard.com (#135) 2018-06-10 12:15:41 +04:30
types.go Verify API Support (#198) 2019-10-16 16:56:28 +03:30
users.go Method is changed from post to get 2019-10-16 08:48:23 +03:30
utils.go [Update] golint fixes reported by goreportcard.com (#135) 2018-06-10 12:15:41 +04:30

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

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