instagram

package module
v0.2.2-alpha.0...-91a53d1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2020 License: MIT Imports: 2 Imported by: 0

README

go-instagram

Build Statuscodecov

This project is for study and personal use only. We hold no responsibilty of any use that violate Instagram's terms and conditions.

Installation

$ go get github.com/Cloose28/go-instagram

Documentation

  • GoDoc Instagram
  • GoDoc Instagram Models

Features

You can use this repo to:

  • like/unlike media
  • get timeline feed
  • get ranked media / recent media of a location
  • get inbox messages
  • get followers/followings
  • broadcast to any inbox thread
  • approve pending inbox thread

The project is still in its early stage. Any pull request to extend its functionalities is most welcome.

Example

ig := instagram.Create(username, password) // init an instance

ig.Login() // login Instagram

ig.TimelineFeed.Get() // get timeline feed

ig.Like(ig.TimelineFeed.Items[0].ID) // like the first item of the feed

Find more complex examples on go-instagram-example

License

MIT

Similar Projects

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(username string, password string) (*models.Instagram, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL