UNPKG

@lineai/gov-deals

Version:

Explore Federal contracts for government building renovations, city hall renovations, courthouse updates, library modernizations, federal building improvement contracts, base housing and facilities upgrades.

29 lines (28 loc) 605 B
/** * SAM.gov API Client */ export interface SamClientOptions { apiKey: string; baseUrl?: string; timeout?: number; } /** * Simple SAM.gov API client */ export declare class SamClient { private readonly axios; private readonly apiKey; constructor(options: SamClientOptions); /** * Make a GET request */ get<T>(path: string, params?: Record<string, any>): Promise<T>; /** * Make a POST request */ post<T>(path: string, data?: unknown, params?: Record<string, any>): Promise<T>; /** * Handle errors */ private handleError; }