BoxLang 🚀 A New JVM Dynamic Language Learn More...

giphy.cfc

v0.1.2 Modules

giphycfc

A CFML wrapper for the GIPHY API. Search GIFs, translate to GIF, and more GIF goodness with GIPHY's API

This is a very early stage API wrapper. Feel free to use the issue tracker to report bugs or suggest improvements!

Acknowledgements

This project borrows heavily from the API frameworks built by jcberquist, such as xero-cfml and aws-cfml. Because it draws on those projects, it is also licensed under the terms of the MIT license.

Table of Contents

Quick Start

Looking to quickly search for some gifs; here it is.

giphy = new giphy.giphy( apiKey = 'xxx' );

turtlegifs = giphy.gifsSearchGet( q = 'turtle' ).data;

writeDump( var='#turtlegifs#' );

Reference Manual

gifsSearchGet( required string q, numeric limit = 0, numeric offset = 0, string rating, string lang, string fmt = 'json')

Search all GIPHY GIFs for a word or phrase.

Questions

For questions that aren't about bugs, feel free to hit me up on the CFML Slack Channel; I'm @mjclemente. You'll likely get a much faster response than creating an issue here.

Contributing

👍 🎉 First off, thanks for taking the time to contribute! 🎉 👍

Before putting the work into creating a PR, I'd appreciate it if you opened an issue. That way we can discuss the best way to implement changes/features, before work is done.

Changes should be submitted as Pull Requests on the develop branch.

$ box install giphycfc

No collaborators yet.
   
  • {{ getFullDate("2019-04-29T08:16:00Z") }}
  • {{ getFullDate("2020-01-27T20:05:23Z") }}
  • 1,792
  • 65