FORGEBOX Enterprise 🚀 - Take your ColdFusion (CFML) Development to Modern Times! Learn More...
A CFML wrapper for The Dog API.
Interact with the self-proclaimed largest open source collection of dog pictures on the internet.
Feel free to use the issue tracker to report bugs or suggest improvements!
Who needs cats for demos? Looking for a random dog image? Here you go:
dogapi = new path.to.cfmldogapi.dogapi(); randomDog = dogapi.getRandomImage().data.message; writeOutput( '<img src="#randomDog#" />' );
Display a single random image from all dogs collection
Returns multiple random images from all dogs collection
Lists all available breeds (and sub-breeds)
Lists all the images from a breed, e.g. hound
Returns a random dog image from a breed, e.g. hound
Returns multiple random dog images from a breed, e.g. hound
Lists all the sub-breeds from a breed
Returns a single random image from a sub-breed
Return multiple random dog images from a sub-breed, e.g. Afghan Hound
Lists all the images from the sub-breed, e.g. Boston Bulldog