Coder Social home page Coder Social logo

goinsta's Introduction

goinsta

Golang Instagram API , Unofficial Instagram API for Golang

Build Status GoDoc Go Report Card Coverage Status

Unofficial Instagram API written in Golang

Legal

@mgp25 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.

Very simple and no-dependency Instagram API

This library work like android version of instagram

Donate

Make me happy :)

Bitcoin : 1KjcfrBPJtM4MfBSGTqpC6RcoEW1KBh15X


Installation

go get -u -v github.com/ahmdrz/goinsta

Methods

There is lot of methods , like uploadPhoto , follow , unfollow , comment , like and etc...

This repository is a copy of Instagram-API-Python , And original source is Instagram-API

How to use ?

The example is very simple !

package main

import (
	"fmt"

	"github.com/ahmdrz/goinsta"
)

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

	if err := insta.Login(); err != nil {
		panic(err)
	}

	defer insta.Logout()

	...
}

Export / Import with AES encryption

package main

import "github.com/ahmdrz/goinsta"

func main() {
	...

	bytes, err := insta.Export([]byte("32Byte AES Key"))
	if err != nil {
		panic(err)
	}
	// save bytes to backup file

	...

	// read bytes from backup file
	insta, err := goinsta.Import([]byte(bytes_from_file), []byte("32Byte AES Key"))
	if err != nil {
		panic(err)
	}
}

Does goinsta support proxy servers ?

Yes, you may create goinsta object using:

insta := goinsta.NewViaProxy("USERNAME", "PASSWORD", "http://<ip>:<port>")

Other programs , built with GoInsta

follow-sync by @kirsle

nick_bot by @icholy

unsplash-to-instagram by @nguyenvanduocit

go-instabot by @tducasse

Contributors ❤️

  1. @sourcesoft
  2. @GhostRussia
  3. @icholy
  4. @rakd
  5. @kemics
  6. @sklinkert
  7. @vitaliikapliuk
  8. @glebtv
  9. @neetkee
  10. @daciwei
  11. @aaronarduino
  12. @tggo
  13. @Albina-art
  14. @maniack
  15. @hadidimad

goinsta's People

Contributors

ahmdrz avatar sourcesoft avatar ghostiam avatar icholy avatar rakd avatar kemics avatar sklinkert avatar glebtv avatar albina-art avatar vitaliikapliuk avatar aaronarduino avatar neetkee avatar hadidimad avatar daciwei avatar maniack avatar

Stargazers

Yury Batenko avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.