Skip to main content Accessibility Feedback

Demo: Limit Pets

By default, Fetch will display every adoptable pet. You can limit the number of animals displayed using the limit setting.


What to put on your site

<link rel="stylesheet" type="text/css" href="/css/fetch2.css">
<script src="/css/fetch2.js"></script>

<div data-fetch>

    new Fetch('[data-fetch]', {
        key: 'YOUR API KEY',
        secret: 'YOUR API SECRET',
        shelter: 'YOUR SHELTER ID'
    }, {
        limit: 10

If you’re using WordPress

[fetch2 key="YOUR API KEY" secret="YOUR API SECRET" shelter="YOUR SHELTER ID" limit="10"]