-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
The gifs_random_get API used to return image_url and others. Now it just returns url.
require 'GiphyClient'
GiphyClient::DefaultApi.new.gifs_random_get('api_key', tag: 'x', rating: 'G').data
#<GiphyClient::InlineResponse2002:0x00007ff33e997af8 @data=#<GiphyClient::RandomGif:0x00007ff33e99e358 @type="gif", @id="l0IyogeaNBswBTFlK", @url="https://giphy.com/gifs/nba-basketball-l0IyogeaNBswBTFlK">, @meta=#<GiphyClient::MetaContent:0x00007ff33e9a46e0 @msg="OK", @status=200, @response_id="2122438e0a240bc267f6764600286f05475a35db">>
=> #<GiphyClient::RandomGif:0x00007ff33e99e358 @type="gif", @id="l0IyogeaNBswBTFlK", @url="https://giphy.com/gifs/nba-basketball-l0IyogeaNBswBTFlK">
Note that other things seem to work (.e.g. GiphyClient::DefaultApi.new.gifs_search_get('api_key', 'cheeseburgers').data.first.images.fixed_width.url), so it looks like a server-side regresson?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels