Turn any time.com link into structured data

Turn any time.com link into structured data

Microlink SDK

Turn websites into rich media

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

size=normal (documentation)

import React from 'react'
import Microlink from '@microlink/react'

export default () => (
  <Microlink
    size='normal'
    url='https://time.com/collection/davos-2019/5502591/tim-cook-data-privacy/'
  />
)

size=large (documentation)

import React from 'react'
import Microlink from '@microlink/react'

export default () => (
  <Microlink
    size='large'
    url='https://time.com/collection/davos-2019/5502591/tim-cook-data-privacy/'
  />
)

Microlink API

Turns websites into structured data

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

Microlink Query Language (documentation)

const mql = require('@microlink/mql')
const { status, response, data } = await mql(
  'https://time.com/collection/davos-2019/5502591/tim-cook-data-privacy/'
)

console.log('status', status)
console.log('headers', response.headers)
console.log('data', data)

Microlink API (documentation)

$ microlink-api https://time.com/collection/davos-2019/5502591/tim-cook-data-privacy/
{
  "lang": "en",
  "author": null,
  "title": "It’s Time for Action on Privacy, Says Apple’s CEO Tim Cook",
  "publisher": "Time",
  "image": {
    "url": "https://microlink.io/card/time/image.jpg",
    "width": 720,
    "height": 516,
    "type": "jpg",
    "size": 39967,
    "size_pretty": "40 kB",
    "palette": [
      "#0C0404",
      "#B79A93",
      "#35455D",
      "#8C6464",
      "#FCB4A4",
      "#BF3F3F"
    ],
    "background_color": "#0C0404",
    "color": "#FCB4A4",
    "alternative_color": "#C65151"
  },
  "description": "We all deserve control over our digital lives",
  "date": "2019-03-27T18:28:00.000Z",
  "logo": {
    "url": "https://microlink.io/card/time/logo.png",
    "width": 128,
    "height": 42,
    "type": "png",
    "size": 1596,
    "size_pretty": "1.6 kB",
    "palette": [
      "#040404",
      "#4C4C4C",
      "#4C4C4C",
      "#424242",
      "#BCBCBC",
      "#7F7F7F"
    ],
    "background_color": "#040404",
    "color": "#BCBCBC",
    "alternative_color": "#7F7F7F"
  },
  "url": "https://time.com/collection/davos-2019/5502591/tim-cook-data-privacy/",
  "video": null,
  "audio": null
}