HOST: https://dev.edisk.cz/api

--- eDisk API - download and search files fast and smooth

Checks files on server. Multiple urls allowed, separate with commas. Use urlencode for urls. 
Possible error values: [invalid-key].

GET /exists?key={key}&urls={urls}
< 200
< Content-Type: application/json
{
    "error" : false,
    "urls" : [
        {"url": "https://www.edisk.cz/stahni/80536/file.pdf_26.44KB.html", "valid" : "1"}
    ]
}

Retrieve file information - filename, filesize in bytes, direct filelink.
Possible error values: [invalid-key,invalid-file].

GET /fileinfo?key={key}&url={url}
< 200
< Content-Type: application/json
{ 
    "error" : false,
    "url" : "https://www.edisk.cz/stahni/80536/file.pdf_26.44KB.html",
    "filename" : "file.pdf",
    "filesize" : 23578,
    "description" : "file description",
    "download_link" : "https://dl1.edisk.cz/asdfd297aa592"
}

Retrieve account information - credits, total downloads count, last login.
Possible error values: [invalid-key].

GET /account?key={key}
< 200
< Content-Type: application/json
{ 
    "error" : false,
    "credit" : 124789,
    "downloads" : 432,
    "last_login" : "file description"
}

Search files on eDisk
Possible param order values: [name,size,uploaded,default]
Possible param asc values: [desc,asc]
Possible param cat values: [audio,video,document,picture,archive,xxx,default]
Possible error values: [invalid-key].

GET /search?key={key}&query={query}&limit={limit_results}&offset={start}&order={order}&asc={asc}&cat={cat}
< 200
< Content-Type: application/json
{ 
    "error" : false,
    "files" : [
        {
            "id" : 1234, 
            "url" : "https://www.edisk.cz/stahni/80536/file.pdf_26.44KB.html", 
            "filename" : "file.pdf",
            "extension" : "pdf",
            "cat" : "document",
            "filesize" : 23578,
            "uploaded" : 234789642,
            "file_info" : {
                "archive" : false,
                "archive_pass" : false,
                "archive_files" : 0,
                "picture" : false,
                "movie" : true,
                "preview" : "https://data3.edisk.cz/images/preview_movie/2/4130177/1_big.jpg",    
                "audio" : false
            }    
        }
    ]
}
Tento web používá k poskytování služeb, personalizaci reklam a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tím souhlasíte.