Furlex v0.1.3 Furlex.Oembed View Source
A module for managing oembed data
Link to this section Summary
Link to this section Functions
Returns an Oembed endpoint for the given url
Examples
iex> Oembed.endpoint_from_url “http://www.23hq.com/Spelterini/photo/33636190”
{:ok, "http://www.23hq.com/23/oembed"}
iex> Oembed.endpoint_from_url “https://vimeo.com/88856141”, %{“format” => “json”}
{:ok, "https://vimeo.com/api/oembed.json"}
Fetches the list of Oembed providers
Soft fetch will fetch cached providers. Hard fetch requests providers from oembed.com and purges the cache.