microlink logo

Turn time.com into structured data

Microlink SDK

Make your content attractive

Microlink SDK converts time.com links into beautiful previews, engaging better your links.

large

const mql = require('@microlink/mql')

module.exports = props => {

  const { status, data } = await mql('https://time.com/collection/davos-2019/5502591/tim-cook-data-privacy/', {
    video: true,
    audio:true,
    palette: true,
    iframe: true,
    ...props
  })
}

normal

const mql = require('@microlink/mql')

module.exports = props => {

  const { status, data } = await mql('https://time.com/collection/davos-2019/5502591/tim-cook-data-privacy/', {
    video: true,
    audio:true,
    palette: true,
    iframe: true,
    ...props
  })
}

small

const mql = require('@microlink/mql')

module.exports = props => {

  const { status, data } = await mql('https://time.com/collection/davos-2019/5502591/tim-cook-data-privacy/', {
    video: true,
    audio:true,
    palette: true,
    iframe: true,
    ...props
  })
}

Features

Capabilities under the hood.

  • Background Refresh
    Stale revalidation, keeping things fresh and always up to date via ttl, reflecting any change on the target URL.
  • Unified Metadata
    Normalized from Open Graph, JSON+LD or HTML markup, such as author, images, colors, dates, lang, etc.
  • Caching Level
    Using Microlink CDN to deliver a different resource each time the query string changes.
  • Color Detection
    Get predominant and complementary colors per every image detected.
  • Contextual Data
    Get more from any data, expanding it to get extra useful information.
  • Media Detection
    Get the original source of any image, video or audio.
  • Native Embeds
    Using oEmbed to get the embedded representation of any URL.
  • Prerender Ready
    Cloud based solution with superior operational performance.
  • Cloud Browsing
    Fast, scalable, and reliable browser automation.
  • Background Refresh
    Stale revalidation, keeping things fresh and always up to date via ttl, reflecting any change on the target URL.
  • Unified Metadata
    Normalized from Open Graph, JSON+LD or HTML markup, such as author, images, colors, dates, lang, etc.
  • Caching Level
    Using Microlink CDN to deliver a different resource each time the query string changes.
  • Color Detection
    Get predominant and complementary colors per every image detected.
  • Contextual Data
    Get more from any data, expanding it to get extra useful information.
  • Media Detection
    Get the original source of any image, video or audio.
  • Native Embeds
    Using oEmbed to get the embedded representation of any URL.
  • Prerender Ready
    Cloud based solution with superior operational performance.
  • Cloud Browsing
    Fast, scalable, and reliable browser automation.

Microlink API

Build APIs from websites

Microlink Query Language (MQL) is a programmatic way to getting content from any URL.

Using MQL (docs)

const mql = require('@microlink/mql')

module.exports = props => {

  const { status, data } = await mql('https://time.com/collection/davos-2019/5502591/tim-cook-data-privacy/', {
    video: true,
    audio:true,
    palette: true,
    iframe: true,
    ...props
  })
}

Using Microlink CLI (docs)

$ microlink-api https://time.com/collection/davos-2019/5502591/tim-cook-data-privacy/
{
  "title": "tim-cook-data-privacy",
  "description": null,
  "lang": "en",
  "author": null,
  "publisher": "time.com",
  "image": null,
  "audio": null,
  "url": "https://time.com/collection/davos-2019/5502591/tim-cook-data-privacy/",
  "iframe": null,
  "date": null,
  "logo": {
    "url": "https://cdn.microlink.io/data/assets/time.com!collection!davos-2019!5502591!tim-cook-data-privacy/logo.clearbit.com!time.com.png",
    "type": "png",
    "size": 4335,
    "height": 128,
    "width": 128,
    "size_pretty": "4.33 kB",
    "palette": [
      "#E41404",
      "#F48C84",
      "#820B02",
      "#960D02",
      "#8C150C",
      "#960D02"
    ],
    "background_color": "#E41404",
    "color": "#040000",
    "alternative_color": "#050000"
  },
  "video": null,
  "screenshot": {
    "url": "https://cdn.microlink.io/screenshot/time.png"
  }
}