Warning: Undefined array key "value" in /usr/home/woot1337/domains/vdly.ct8.pl/public_html/_templates/page_structure.php on line 26

Developers

VidLii anywhere, any time. The VidLii API allows you to integrate VidLii's video content and functionality into your website, software application, or device.
Data API
The VidLii Data API allows you to easily retrieve information of different parts on the website for your own use.
User Data
Example Call: /api?ty=user&ta=VidLii
Output:
{
    "r":"success",
    "username":"VidLii",
    "registered":"2017-05-23 02:15:12",
    "last_login":false,
    "videos_watched":"1764",
    "channel_views":"2762",
    "video_views":"366",
    "videos":"2",
    "subscribers":false,
    "subscriptions":"19",
    "friends":"71",
    "channel_comments":"197",
    "featured_channels":false,
    "partnered":"1",
    "channel_version":"2",
    "country":false,
    "title":"",
    "description":"",
    "tags":"",
    "avatar":"/usfi/avt/qBXfvJKwfJ1.jpg"
}
Important: Getting the result: "false" means that this user has hidden this value from his / her channel.
Video Data
Example Call: /api?ty=video&ta=xsc2P_KnbWI
Output:
{
    r: "success"
    url: "EjdZOfJNwJE"
    title: "Vidlii."
    description: "the first time i'm doing any unironic editing for something with my new editing software."
    tags: "Vidlii, Vlare, formidable, Redexec, HeXa, Thebestbrosgamershow, bestbrosgamershow, Killsabyte, edray1416, edray, WACV, CL21, Craftinglord21, jreviews, jaycommitsmassmurder"
    category: "Film & Animation"
    upload_date: "2019-03-27 23:15:34"
    upload_by: "JTVLive"
    duration: "42"
    ranking_views: "40"
    display_views: "68"
    watchtime_minutes: "52"
    comment_num: "2"
    response_num: "5"
    favorite_num: "2"
    featured: "1"
    ratings: "0,0,0,0,3"
    ads_enabled: "1"
}
Optional Parameters:
"&o=comments" returns the comments instead
"&o=responses" returns the video responses instead
"&limit=16,0" sets the amount and offset of returned comments/video responses (Default is "16, Offset 0")
VidLii Data
Example Call: /api?ty=Vidlii&ta=featured
Output:
{
    "0":{
        "url":"xVngY44FiWX",
        "title":"Sonic the hedgehog music: green hill zone",
        "views":"6",
        "upload_by":"thatonecoolguy",
        "upload_date":"2017-08-14 00:00:00"
    },
    "1":{
        "url":"thKTgErNMnT",
        "title":"Howto Revert to Classic Google Layout (Chrome & Firefox)",
        "views":"93",
        "upload_by":"11ryanc",
        "upload_date":"2017-08-12 21:14:10"
    },
    "2":{
        "url":"8h1e2t8l1xV",
        "title":"Vidlii Time Capsule - Submit Vidlii Screenshots and Videos!",
        "views":"147",
        "upload_by":"AM",
        "upload_date":"2017-08-11 01:14:40"
    },
    "3":{
        "url":"QU10coLMwyg",
        "title":"Test Animation (inspired By Alan Becker)",
        "views":"151",
        "upload_by":"NermalCat79",
        "upload_date":"2017-08-06 18:10:48"
     }
}
Possible Targets (&ta=):
"featured": Returns the 16 most recent featured videos
"search": Returns the 16 most relevant results according to what you searched for. (&o=)
"watched": Returns the 16 most recently watched videos.
"new": Return the 16 most recently uploaded videos. Set (&o=) to a username and it will return this users most recent videos.