flickr-sdk
Version:
Almost certainly the best Flickr API client in the world for node and the browser
13 lines (12 loc) • 416 B
TypeScript
import type { Auth, Transport } from "../../types";
import { API } from "./api";
export interface Flickr {
<T extends keyof API>(method: T, params: API[T][0]): Promise<API[T][1]>;
}
export declare class FlickrService {
private transport;
private auth;
constructor(transport: Transport, auth: Auth);
call(method: string, params: Record<string, string>): Promise<any>;
private getHTTPMethod;
}