Skip to content

Tiny Bit of Help for a Total Newbie? #7

@pale2hall

Description

@pale2hall

First off, thank you for putting this project together!

I don't really know any go other than the amount it took for me to setup go on my computer, write a Hello World, and get this far:

package main

import "fmt"
import "github.com/joshdk/posh"


func main() {
  creds := posh.Credentials{
	Email:    "username",
	Password: "password",
  }

  config := posh.Config{
	Credentials: &creds,
  }


  client, err := posh.NewClient(config)
  if err != nil {
  	panic(err.Error())
  }

  fmt.Println(client.Session())

}

I'm a bit lost about what calls I can make to this API once I'm logged in, and how I could write them.

Would you be able to point me in the right direction?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions