public final class AlgorithmiaClient
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
AlgorithmiaClient()
Instantiate Algorithmia client without credentials
This only works for when running the client on top of the Algorithmia platform
|
protected |
AlgorithmiaClient(Auth auth)
Instantiate Algorithmia client with auth
|
Modifier and Type | Method and Description |
---|---|
Algorithm |
algo(java.lang.String algoUri)
Initialize an Algorithm object from this client
|
DataDirectory |
dir(java.lang.String path)
Initialize a DataDirectory object from this client
|
DataFile |
file(java.lang.String path)
Initialize an DataFile object from this client
|
protected AlgorithmiaClient()
protected AlgorithmiaClient(Auth auth)
auth
- Algorithmia Auth objectpublic Algorithm algo(java.lang.String algoUri)
algoUri
- the algorithm's URI, e.g., algo://user/algonamepublic DataDirectory dir(java.lang.String path)
path
- to a data directory, e.g., data://.my/foopublic DataFile file(java.lang.String path)
path
- to a data file, e.g., data://.my/foo/bar.txt