File Metadata

Get MIME type, file size, and type info for arbitrary files

MIT License

Try the API

{
  "info": "JPEG image data, EXIF standard 2.21",
  "mime_type": "image/jpeg",
  "size": 1331541
}

Install & Use

Use

curl -X POST -d '{"input_file":"data://jhurliman/jhurliman/IMG_2910.JPG"}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/jhurliman/FileMetadata/0.1.0