Skip to content

Instantly share code, notes, and snippets.

@yusefnapora
Forked from parkan/mediachain-read.sh
Created August 1, 2016 15:42
Show Gist options
  • Save yusefnapora/7bde5890bce2c110319390bb999e965a to your computer and use it in GitHub Desktop.
Save yusefnapora/7bde5890bce2c110319390bb999e965a to your computer and use it in GitHub Desktop.
$ virtualenv venv
$ source venv/bin/activate
(venv) $ pip install -U pip
(venv) $ pip install mediachain-client
(venv) $ mediachain get QmVwwiMVDH7umVSd3vdbwGS3WmFX2axhJCTpbfU4LMPcE8
{
"metaSource": {
"@link": "Qmcbo67Ycv6rCREhQYoYeGJzgAJiCZDfyEdtHqdbmTsv6T"
},
"meta": {
"translator": {
"link": {
"@link": "QmbDLhgDTYUM88e34P8PgycwwrtSdeZewkv2gLCME3o3mT"
},
"id": "getty@QmbDLhgDTYUM88e34P8PgycwwrtSdeZewkv2gLCME3o3mT"
},
"raw_ref": {
"@link": "QmPbhJZazM6vLiNHhjfDGUZnUQ6TzxuYydg8F2mrQHcvxE"
},
"data": {
"artist": "Michael Ochs Archives",
"collection_name": "Moviepix",
"title": "Alfred Hitchcock",
"caption": "LOS ANGELES - MAY 22, 1956: Director Alfred Hitchcock with actor Jimmy Stewart and actress Doris Day at the premier of 'The Man Who Knew Too Much' in Los Angeles, California. (Photo by Earl Leaf/Michael Ochs Archives/Getty Images)",
"editorial_source": "Moviepix",
"keywords": [
"Vertical",
"Black And White",
"USA",
"California",
"City Of Los Angeles",
"Actor",
"Film Premiere",
"Archival",
"Alfred Hitchcock",
"Premiere",
"Film Industry",
"Red Carpet Event",
"Doris Day",
"Arts Culture and Entertainment",
"The Man who knew too much",
"Actress",
"1950-1959",
"Film Director",
"Jimmy Stewart - Actor - Born 1908",
"LAC0076"
],
"date_created": "1956-05-22T00:00:00-07:00",
"_id": "getty_451356503",
"thumbnail": {
"binary_asset": true,
"link": {
"@link": "QmRWxQ7aHGZX8396ARGwt4GXtNaZyyKR6CziwWBSLryiBy"
},
"uri": "http://cache1.asset-cache.net/gc/451356503-director-alfred-hitchcock-with-actor-jimmy-gettyimages.jpg?v=1&c=IWSAsset&k=2&d=GkZZ8bf5zL1ZiijUmxa7QUFN5yfBDADlXbpJ1E1eyY2Njoqu%2f2BqqxBjwB509RuIt8%2b8q1YrWpXJ7oa5%2fEsS%2bA%3d%3d&b=Ng=="
}
}
},
"type": "artefact",
"entity": {
"meta": {
"translator": {
"link": {
"@link": "QmbDLhgDTYUM88e34P8PgycwwrtSdeZewkv2gLCME3o3mT"
},
"id": "getty@QmbDLhgDTYUM88e34P8PgycwwrtSdeZewkv2gLCME3o3mT"
},
"data": {
"name": "Michael Ochs Archives"
}
},
"type": "entity"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment