Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hieven/go-instagram
Instagram private API in Go
https://github.com/hieven/go-instagram
bot instagram instagram-api
Last synced: about 3 hours ago
JSON representation
Instagram private API in Go
- Host: GitHub
- URL: https://github.com/hieven/go-instagram
- Owner: hieven
- License: mit
- Created: 2016-09-24T00:25:18.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-12-29T10:53:49.000Z (almost 5 years ago)
- Last Synced: 2024-06-19T00:33:39.504Z (5 months ago)
- Topics: bot, instagram, instagram-api
- Language: Go
- Homepage:
- Size: 113 KB
- Stars: 74
- Watchers: 9
- Forks: 15
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-instagram
[![Build Status](https://travis-ci.org/hieven/go-instagram.svg?branch=master)](https://travis-ci.org/hieven/go-instagram)[![codecov](https://codecov.io/gh/hiEven/go-instagram/branch/master/graph/badge.svg)](https://codecov.io/gh/hiEven/go-instagram)
This project is for study and personal use only. We hold no responsibilty of any use that violate Instagram's terms and conditions.
## Installation
```sh
$ go get github.com/hieven/go-instagram
```## Documentation
- [![GoDoc](https://godoc.org/github.com/hieven/go-instagram?status.svg)](https://godoc.org/github.com/hieven/go-instagram) Instagram
- [![GoDoc](https://godoc.org/github.com/hieven/go-instagram/models?status.svg)](https://godoc.org/github.com/hieven/go-instagram/models) 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
- broadcast to any inbox thread
- approve pending inbox threadThe project is still in its early stage. Any pull request to extend its functionalities is most welcome.
## Example
```go
cnf := &config.Config{
Username: "USERNAME",
Password: "PASSWORD",
}ctx := context.Background()
ig, _ := instagram.New(cnf)
ig.Login(ctx)Aresp, _ := ig.Timeline().Feed(ctx, instagram.TimelineFeedReques{})
fmt.Println(Aresp.Items[0].MediaOrAd)
```Find more complex examples on [examples](examples)
## License
MIT
## Similar Projects
- [instagram-private-api](https://github.com/huttarichard/instagram-private-api) (Node.js)
- [Instagram-API](https://github.com/mgp25/Instagram-API) (PHP)