flickr-sdk
Version:
Almost certainly the best Flickr API client in the world for node and the browser
9 lines (8 loc) • 339 B
TypeScript
import type { Auth } from "../types";
import type { Params } from "../params";
export declare class APIKeyAuth implements Auth {
private apiKey;
constructor(apiKey: string | (() => string) | (() => Promise<string>));
sign(method: "GET" | "POST", url: string, params: Params): Promise<void>;
getAPIKey(): Promise<string>;
}