Tiny Bit of Help for a Total Newbie?
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?
Any help would be amazing. Thanks @joshdk
Hello @pale2hall,
Unfortunately, I don't have a very good answer for you at the moment 😬
This repo could really use some more attention, as the login/session endpoint is the only binding at the moment (you were correct in not being able to find anything). Improving API coverage has been on my backlog for a while.
The Poshmark "API" is completely undocumented (I have to proxy my phone through Burp Suite to view the app traffic) which makes things difficult.
Mechanically, the client (and overall health of this repo) could also benefit greatly by being auto-generated using something like Swagger (which is good as I've been experimenting with it in joshdk/circleci-go).
I'm assigning this issue to myself for now, as even I would like to use this library more...