A simple python/flask app which proxies requests to the embed.ly service and masks the application API key.
This V1 API is no longer supported.
Fetch metadata for a provided list of URLs from remote metadata services.
Service URLs
Method:
POST
URL Params
None
Data Params
The POST body must be a JSON encoded dictionary with one key: urls which contains a list of URLs to be queried. A maximum of 25 URLs may be submitted in one request.
ex:
{ urls: [ "https://www.mozilla.org/", "https://developer.mozilla.org/en-US/docs/Web/JavaScript" ] }
Request Headers
The POST body must be a JSON encoded dictionary.
content-type: application/json
Success Response:
JSON encoding
{
urls: {
"
ex success:
{ urls: { "https://www.mozilla.org": {
Error Responses:
The server received a malformed request.
The server was unable to satisfy the request.
Sample Call:
curl -X POST -d '{"urls":["https://www.mozilla.org"]}' -H 'content-type:application/json' https://embedly-proxy.services.mozilla.com/v2/metadata