## Retrieve `client.Pets.Get(ctx, petID) (*Pet, error)` **get** `/pets/{petId}` Find pet by ID. ### Parameters - `petID int64` ### Returns - `type Pet struct{…}` - `Name string` - `PhotoURLs []string` - `ID int64` - `Category Category` - `ID int64` - `Name string` - `Status PetStatus` pet status in the store - `const PetStatusAvailable PetStatus = "available"` - `const PetStatusPending PetStatus = "pending"` - `const PetStatusSold PetStatus = "sold"` - `Tags []Tag` - `ID int64` - `Name string` ### Example ```go package main import ( "context" "fmt" "github.com/pedro/barkend" "github.com/pedro/barkend/option" ) func main() { client := barkend.NewClient( option.WithBearerToken("My Bearer Token"), ) pet, err := client.Pets.Get(context.TODO(), 0) if err != nil { panic(err.Error()) } fmt.Printf("%+v\n", pet.ID) } ```