GSA/code-gov-front-end

View on GitHub
src/api-client.js

Summary

Maintainability
A
0 mins
Test Coverage
import { CodeGovAPIClient } from '@code.gov/api-client/src/index.js'

const client = new CodeGovAPIClient({
  api_key: process.env.CODE_GOV_API_KEY,
  base: process.env.CODE_GOV_API_BASE,
  debug: true,
  remember: true, // enables caching
  tasksUrl: process.env.CODE_GOV_TASKS_URL
})

export default client