Skip to content

Instantly share code, notes, and snippets.

@jpadilla
Created November 15, 2016 15:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpadilla/ee273ed9504de36654906f8f9cf1f08b to your computer and use it in GitHub Desktop.
Save jpadilla/ee273ed9504de36654906f8f9cf1f08b to your computer and use it in GitHub Desktop.

{
    "id": "e84e3a65-8ea0-46e1-99e5-ce2bb0021f64",
    "url": "https://api.filepreviews.io/v2/previews/e84e3a65-8ea0-46e1-99e5-ce2bb0021f64/",
    "status": "success",
    "preview": {
        "resized": false,
        "requested_size": "original",
        "original_size": {
            "width": "1280",
            "height": "2564"
        },
        "page": 1,
        "size": {
            "width": "1280",
            "height": "2564"
        },
        "url": "https://s3.amazonaws.com/demo.filepreviews.io/16c0673e9eb14250be6d1bfd682c496928afdfe0fa0a00b7b4e1def967b8dace/32ff00834244dd68c6dea165509a4603_original-1.png"
    },
    "thumbnails": [{
        "resized": false,
        "requested_size": "original",
        "original_size": {
            "width": "1280",
            "height": "2564"
        },
        "page": 1,
        "size": {
            "width": "1280",
            "height": "2564"
        },
        "url": "https://s3.amazonaws.com/demo.filepreviews.io/16c0673e9eb14250be6d1bfd682c496928afdfe0fa0a00b7b4e1def967b8dace/32ff00834244dd68c6dea165509a4603_original-1.png"
    }],
    "original_file": {
        "mimetype": "text/html",
        "type": "text",
        "total_pages": 1,
        "extension": "",
        "name": "watch",
        "encoding": "utf-8",
        "metadata": {
            "webpage": {
                "description": "my gear- MY FAVORITE DRONE; http://amzn.to/2d6cP7v BIG CAMERA; http://tinyurl.com/jn4q4vz BENDY TRIPOD THING; http://tinyurl.com/gw3ylz2 YOU NEED THIS FOR TH...",
                "url": "https://www.youtube.com/watch?v=7QpJ_VDbIPA",
                "keywords": [""],
                "oembed": {
                    "provider_url": "https://www.youtube.com/",
                    "width": 480,
                    "thumbnail_url": "https://i.ytimg.com/vi/7QpJ_VDbIPA/hqdefault.jpg",
                    "type": "video",
                    "thumbnail_height": 360,
                    "height": 270,
                    "provider_name": "YouTube",
                    "html": "",
                    "author_name": "CaseyNeistat",
                    "title": "MacBook Pro with TOUCHBAR Review",
                    "author_url": "https://www.youtube.com/user/caseyneistat",
                    "thumbnail_width": 480,
                    "cache_age": null,
                    "version": "1.0"
                },
                "videos": [{
                    "width": 1280,
                    "height": 720,
                    "src": "http://www.youtube.com/v/7QpJ_VDbIPA?version=3&autohide=1",
                    "type": "application/x-shockwave-flash",
                    "secure_src": "https://www.youtube.com/v/7QpJ_VDbIPA?version=3&autohide=1"
                }, {
                    "width": 1280,
                    "height": 720,
                    "src": "https://www.youtube.com/embed/7QpJ_VDbIPA"
                }],
                "title": "MacBook Pro with TOUCHBAR Review",
                "locale": "en_US",
                "images": [{
                    "src": "https://i.ytimg.com/vi/7QpJ_VDbIPA/maxresdefault.jpg",
                    "type": "og:image"
                }, {
                    "src": "https://i.ytimg.com/vi/7QpJ_VDbIPA/maxresdefault.jpg",
                    "type": "twitter:image"
                }, {
                    "src": "https://s.ytimg.com/yts/img/favicon-vflz7uhzw.ico",
                    "type": "favicon"
                }, {
                    "src": "https://s.ytimg.com/yts/img/favicon_32-vfl8NGn4k.png",
                    "type": "favicon"
                }, {
                    "src": "https://s.ytimg.com/yts/img/favicon_48-vfl1s0rGh.png",
                    "type": "favicon"
                }, {
                    "src": "https://s.ytimg.com/yts/img/favicon_96-vfldSA3ca.png",
                    "type": "favicon"
                }, {
                    "src": "https://s.ytimg.com/yts/img/favicon_144-vflWmzoXw.png",
                    "type": "favicon"
                }]
            }
        },
        "size": 188039
    },
    "user_data": null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment