Call an Algorithm
Now import the Algorithmia library and create the Algorithmia client:
After setting your API key, you can then use the
client variable from the above line to call algorithms.
The format for calling an algorithm is
client.algo() with the algorithm name passed in. To pass input to the algorithm, use the
Your account can make up to 80 Algorithmia requests at the same time (this limit can be raised if needed).
Note: Working with Files
For larger files, you can set up an Amazon S3 Connector to an S3 bucket with public read access. Then, direct the algorithms you call to write their output into that S3 connector (or use s3utilities/UploadFiletoS3/ to move it there). Once it is in the S3 bucket, you can access the file via its publicly-readable URL.
Alternately, you could implement a small piece of backend code in another language and use it to retrieve the file for you.