open-index/open-npm huggingface dataset:
npm package: @fill-easy/api
Description: Type-safe SDK for Fill Easy API
Latest version: 1.0.45

# Fill Easy API SDK

Fill Easy Services API using https://openapi-ts.dev/

Read full docs here: https://docs.fill-easy.com

## Usage

```typescript
import { createApiClient } from "@fill-easy/api"

const client = createApiClient({
  baseUrl: "https://sandbox.staging-api.fill-easy.com",
  clientId: "...",
  clientSecret: "...",
})

// Fully typed API calls
const { data, error } = await client.POST("/iamsmart/v2/request/auth", {
  body: {
    redirect: "https://example.com/callback",
    source: "Android_Chrome",
  },
})

if (error) {
  console.error(error)
} else {
  console.log(data)
}
```