Film - danopia/deviantart-difi GitHub Wiki

metadata

Returns a lot of awesome data on a DeviantART video. (Why can't normal Deviations be this epic?)

Usage

  • When viewing a video.

Params

  • deviationid: number
  • token (?): hex string

Response

Returns an epic amount of data in a JSON structure. Example:

{"film":
  {"plays":58292,
   "artist":"$scir",
   "embedable":"yes",
   "category":"film/film/video/devious",
   "comments":587,
   "downloads":357,
   "title":"dA Shop Till You Drop",
   "license":null,
   "thumb":"http://th02.deviantart.net/fs51/400/o/2009/266/c/3/c34aa60e2485d5a960bd1ceaca01f1ef.jpg",
   "devurl":"http://www.deviantart.com/deviation/137953574/",
   "url":"http://www.deviantart.com/film/137953574/",
   "username":"scir",
   "flv":"http://fc02.deviantart.net/fs37/v/flv/2009/266/0/018ba6df5d1b2d765b31005825eab992.flv",
   "avatar":"http://a.deviantart.net/avatars/s/c/scir.png?1",
   "repeat":"0",
   "favorites":935,
   "views":20192,
   "id":137953574,
   "playstoday":null,
   "video":
     {"file":[
       {"size":"720p",
        "url":"http://fc00.deviantart.net/fs37/v/mp4/2011/107/6/6/da_shop_till_you_drop_by_scir-d2a4tnq.mp4",
        "height":"720",
        "width":"1280"},
       {"size":"360p",
        "url":"http://fc06.deviantart.net/fs37/v/mp4/2011/107/5/d/da_shop_till_you_drop_by_scir-d2a4tnq.mp4",
        "height":"360",
        "width":"640"}
     ]},
   "height":"224",
   "length":"64930",
   "deviationid":137953574,
   "downloadstoday":0,
   "width":"400",
   "viewstoday":0}}

##signature undocumented