flickr-sdk
Version:
Almost certainly the best Flickr API client in the world for node and the browser
10 lines (9 loc) • 372 B
TypeScript
import type { Transport } from "../types";
import { GET, POST } from "../params";
export declare class FetchTransport implements Transport {
private init;
constructor(init?: RequestInit);
fetch(url: string, init: RequestInit): Promise<Response>;
get(url: string, params?: GET): Promise<Response>;
post(url: string, params?: POST): Promise<Response>;
}