Skip to content
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.

Latest commit

 

History

History
33 lines (20 loc) · 940 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 940 Bytes

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