Documentation
¶
Index ¶
Constants ¶
View Source
const ( EmailEnvironmentVariable = "POSHMARK_EMAIL" PasswordEnvironmentVariable = "POSHMARK_PASSWORD" UserIDEnvironmentVariable = "POSHMARK_USERID" TokenEnvironmentVariable = "POSHMARK_TOKEN" BaseURL = "https://api.poshmark.com/api" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Login ¶
func (client *Client) Login(request *LoginRequest) (*LoginResponse, error)
type Config ¶
type Config struct { BaseURL string Credentials *Credentials }
type Credentials ¶
func NewCredentials ¶
func NewCredentials(email string, password string) *Credentials
func NewEnvCredentials ¶
func NewEnvCredentials() (*Credentials, error)
type LoginRequest ¶
type LoginResponse ¶
Click to show internal directories.
Click to hide internal directories.