instagram

package
v0.0.0-...-9105970 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2019 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instagram

type Instagram struct {
	// contains filtered or unexported fields
}

func Import

func Import(filePath string) (*Instagram, error)

func New

func New(username, password string) (*Instagram, error)

func (*Instagram) Export

func (i *Instagram) Export(filePath string) error

func (*Instagram) Followers

func (i *Instagram) Followers() []User

func (*Instagram) Followings

func (i *Instagram) Followings() []User

type User

type User struct {
	ID         int64  `json:"pk"`
	Username   string `json:"username"`
	ProfilePic string `json:"profile_pic"`
}

func (User) Followers

func (u User) Followers(i *Instagram) []User

func (User) Followings

func (u User) Followings(i *Instagram) []User

Jump to

Keyboard shortcuts

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