import BeaverdockAPI from 'beaverdock-api';const client = new BeaverdockAPI({ apiKey: process.env['BEAVERDOCK_API_API_KEY'], // This is the default and can be omitted});const pets = await client.pet.findByTags();console.log(pets);
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
GET
/
pet
/
findByTags
JavaScript
Copy
import BeaverdockAPI from 'beaverdock-api';const client = new BeaverdockAPI({ apiKey: process.env['BEAVERDOCK_API_API_KEY'], // This is the default and can be omitted});const pets = await client.pet.findByTags();console.log(pets);