marcky

marcky / WebImageSorter / 0.2.0

WebImageSorter

Royalty Free API Calls - 1,051
Permissions
The Algorithm Platform License is the set of terms that are stated in the Software License section of the Algorithmia Application Developer and API License Agreement. It is intended to allow users to reserve as many rights as possible without limiting Algorithmia's ability to run it as a service. Learn More
This is necessary for algorithms that rely on external services, however it also implies that this algorithm is able to send your input data outside of the Algorithmia platform.

Run an Example

Input
Output
[
  {
    "url": "http://imgs.xkcd.com/static/terrible_small_logo.png",
    "width": 185,
    "height": 83,
    "pixels": 15355
  },
  {
    "url": "http://imgs.xkcd.com/s/a899e84.jpg",
    "width": 520,
    "height": 100,
    "pixels": 52000
  },
  {
    "url": "http://imgs.xkcd.com/comics/permacal.png",
    "width": 233,
    "height": 389,
    "pixels": 90637
  }
]

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 marcky/WebImageSorter/0.2.0 -d '["http://www.xkcd.com", 0, 10000, 0, 10000, "desc"]'
  
CLI Docs