All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nameapi.client.lib.NameApiKeys Maven / Gradle / Ivy

There is a newer version: 6.0.0
Show newest version
package org.nameapi.client.lib;

import com.optimaize.command4j.lang.Key;
import org.nameapi.ontology5.input.context.Context;

/**
 * A place of keys used by this NameAPI library.
 */
public interface NameApiKeys {

    /**
     * The api key is required for any call to NameAPI services.
     * You must supply a valid context with the {@code mode} argument.
     */
    Key API_KEY = Key.stringKey("apiKey");

    /**
     * The context is used as an optional argument by many of the NameApi services.
     * You can supply a context with the {@code mode} argument.
     */
    Key CONTEXT = Key.create("Context", Context.class);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy