sogamoso / giphy Goto Github PK
View Code? Open in Web Editor NEWA Ruby interface to the Giphy API. http://api.giphy.com/
License: MIT License
A Ruby interface to the Giphy API. http://api.giphy.com/
License: MIT License
The API now returns urls for mp4
and webp
formatted files which have a much smaller file size, but there are no accessors for those urls in the gem.
Here's the response right now, this isn't properly handled in Giphy::Response.
#<Faraday::Response:0x007fb8e31cd088 @on_complete_callbacks=[], @env=#<Faraday::Env @method=:get @url=#<URI::HTTP:0x007fb8e31e5700 URL:http://api.giphy.com/v1/gifs/random?api_key=dc6zaTOxFJmzC&tag=> @request=#<Faraday::RequestOptions (empty)> @request_headers={"User-Agent"=>"Faraday v0.9.1"} @ssl=#<Faraday::SSLOptions (empty)> @response_headers={"date"=>"Mon, 18 May 2015 18:58:19 GMT", "transfer-encoding"=>"chunked", "connection"=>"close", "set-cookie"=>"__cfduid=dd40114ecf2df082bd58575f1113a8feb1431975499; expires=Tue, 17-May-16 18:58:19 GMT; path=/; domain=.giphy.com; HttpOnly", "cache-control"=>"private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0", "expires"=>"Thu, 01 Jan 1970 00:00:01 GMT", "location"=>"http://tv.giphy.com/v1/gifs/random?api_key=dc6zaTOxFJmzC&tag=", "server"=>"cloudflare-nginx", "cf-ray"=>"1e89cafac35100ae-EWR"} @status=302>>
Hello!
I can't seem to call trending. I do see recent tho.
Thanks!
Tried to fetch user favorites, but it seems /favorites
endpoint was removed. Am I correct? If so, you should also remove it from gem, because it is misleading.
Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.