Turn any ted.com link into structured data

Turn any ted.com link into structured data

Microlink SDK

Turn websites into rich media

Microlink SDK converts ted.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://www.ted.com/talks/jia_jiang_what_i_learned_from_100_days_of_rejection'
  />
)

size=large (documentation)

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

export default () => (
  <Microlink
    size='large'
    url='https://www.ted.com/talks/jia_jiang_what_i_learned_from_100_days_of_rejection'
  />
)

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://www.ted.com/talks/jia_jiang_what_i_learned_from_100_days_of_rejection'
)

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

Microlink API (documentation)

$ microlink-api https://www.ted.com/talks/jia_jiang_what_i_learned_from_100_days_of_rejection
{
  "lang": "en",
  "author": "Jia Jiang",
  "title": "What I learned from 100 days of rejection",
  "publisher": "ted.com",
  "image": {
    "url": "https://microlink.io/card/ted.com/image.jpg",
    "width": 1050,
    "height": 550,
    "type": "jpg",
    "size": 37992,
    "size_pretty": "38 kB",
    "palette": [
      "#263253",
      "#DAAA94",
      "#AB7462",
      "#AE6C4C",
      "#C8ACCC",
      "#795C0F"
    ],
    "background_color": "#263253",
    "color": "#D9A51B",
    "alternative_color": "#C99A83"
  },
  "description": "Jia Jiang adventures boldly into a territory so many of us fear: rejection. By seeking out rejection for 100 days -- from asking a stranger to borrow $100 to requesting a",
  "date": "2019-06-18T12:25:26.000Z",
  "logo": {
    "url": "https://microlink.io/card/ted.com/logo.png",
    "width": 180,
    "height": 180,
    "type": "png",
    "size": 682,
    "size_pretty": "682 B",
    "palette": [
      "#E42C1C",
      "#F48C84",
      "#881910",
      "#8C150C",
      "#881910",
      "#76160E"
    ],
    "background_color": "#E42C1C",
    "color": "#120302",
    "alternative_color": "#100302"
  },
  "url": "https://www.ted.com/talks/jia_jiang_what_i_learned_from_100_days_of_rejection",
  "video": {
    "url": "https://microlink.io/card/ted.com/video.mp4",
    "width": 854,
    "height": 480,
    "type": "mp4",
    "size": 109147790,
    "size_pretty": "109 MB",
    "duration": 935.8,
    "duration_pretty": "16m"
  },
  "audio": null
}