public static AlchemyAPI GetInstanceFromFile(String keyFilename) throws FileNotFoundException, IOException { AlchemyAPI api = new AlchemyAPI(); api.LoadAPIKey(keyFilename); return api; }
public static AlchemyAPI GetInstanceFromString(String apiKey) { AlchemyAPI api = new AlchemyAPI(); api.SetAPIKey(apiKey); return api; }