following

package
v0.0.0-...-bcdd4fe Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2019 License: MIT, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:     "following",
	Short:   "Get account following",
	Example: "goinsta account following",
	Run: func(cmd *cobra.Command, args []string) {
		inst := utils.New()

		users := inst.Account.Following()

		i := 0
		fmt.Println("Following:\n  ID\t\tUsername")
		for users.Next() {
			for _, u := range users.Users {
				i++
				fmt.Printf("  %d\t%s\n", u.ID, u.Username)
			}
		}
		fmt.Printf("Total: %d\n", i)
	},
}

RootCmd is used as a command line interaction with Instagram Following contacts.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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