File Metadata
Royalty Free
Get MIME type, file size, and type info for arbitrary files
Language
JavaScript
Metrics
API Calls - 19
Avg call duration -
N/A
Permissions
The MIT License is a permissive free software license originating at the Massachusetts Institute of Technology (MIT).
Learn more
Run an example
Input
Output
{
"info": "JPEG image data, EXIF standard 2.21",
"mime_type": "image/jpeg",
"size": 1331541
}
Install and use
Install
Install the Algorithmia CLI client by running:
curl -sSLf https://algorithmia.com/install.sh | sh
Then authenticate by running:
$ algo auth
# When prompted for api endpoint, hit enter
# When prompted for API key, enter your key: YOUR_API_KEY
Use
algo run jhurliman/FileMetadata/0.1.0 -d '{"input_file":"data://jhurliman/jhurliman/IMG_2910.JPG"}' --timeout 300