jhurliman

jhurliman / FileMetadata / 0.1.0

File Metadata

Royalty Free API Calls - 18
Get MIME type, file size, and type info for arbitrary files
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
# Enter API Key: YOUR_API_KEY
CLI Install Docs

Use



algo run jhurliman/FileMetadata/0.1.0 -d '{"input_file":"data://jhurliman/jhurliman/IMG_2910.JPG"}' –-timeout 300
  
CLI Docs