info

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:     "info",
	Short:   "Get partial info about your account",
	Example: "goinsta account info",
	Run: func(cmd *cobra.Command, args []string) {
		inst := utils.New()

		user, _ := inst.Profiles.ByID(inst.Account.ID)

		fmt.Printf(`
Username: %s
Fullname: %s
ID: %d
ProfilePicURL: %s
Email: %s
Gender: %d
Biography: %s
Followers: %d
Following: %d
`, user.Username, user.FullName, user.ID, user.ProfilePicURL,
			user.PublicEmail, user.Gender, user.Biography, user.FollowerCount,
			user.FollowingCount)
	},
}

RootCmd is used as a command line interaction with Instagram Profile info.

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