Skip to content

emgag/iframely-server

Repository files navigation

iframely-server

build release

Simple wrapper for iframely oEmbed API.

Endpoints

/info

Parameters:

  • (required) api_key: The API key for authentication
  • (required) url: The url of the requested embed

Response:

A JSON object with the following values:

  • provider: The lowercase embed provider name
  • url: The requested embed url
  • html: The embed html code
  • image: The embed (preview) image

or

  • error: In case of an error returned by iframely

Environment variables

  • SERVER_API_KEY: Key to authenticate clients
  • IFRAMELY_API_KEY: API key for fetching data from iframely