Algorithmia

public class Algorithmia

Instantiate Algorithmia clients for calling algorithms and accessing data

  • Undocumented

    Declaration

    Swift

    public class Algorithmia
  • Returns an Algorithmia client that makes all requests with your API key. If API key is null, the default client is returned

    Declaration

    Swift

    public static func client(simpleKey:String) -> AlgorithmiaClient

    Parameters

    simpleKey

    API Key for simple authenticiation (prefixed with “sim”)

    Return Value

    an Algorithmia Client

  • Returns an Algorithmia client that makes all requests with your API key. If API key is null, the default client is returned

  • Parameters:

  • Returns

    an Algorithmia Client

    Declaration

    Swift

    public static func client(simpleKey:String, baseUrl:String) -> AlgorithmiaClient

    Parameters

    simpleKey

    API Key for simple authenticiation (prefixed with “sim”)

    baseUrl

    baseUrl for API server. e.g. “https://api.algorithmia.com”

    Return Value

    an Algorithmia Client