Can you include this api call?
catbai opened this issue · 2 comments
catbai commented
Can you augment the api to include calls to 'types'?
GET https://api.petfinder.com/v2/types'
mloberg commented
You should be able to get animal types by using the following:
var pf = new petfinder.Client({apiKey: 'my-api-key', secret: 'my-api-secret'});
pf.animalData.types()
.then(function (response) {
// Do something with `response.data.types`
})
catbai commented
Thank you!