{"library":"boclips-api-client","type":"library","category":null,"description":"The Boclips API Client is a JavaScript/TypeScript library designed to provide frontend applications with a structured interface for interacting with the Boclips API. Currently at version 113.5.2, this client likely follows a rapid release cadence, indicated by its high major version number, suggesting frequent updates aligned with backend API evolution. A key differentiator is its robust testing strategy leveraging Pact for contract testing, which generates contracts against a mock HTTP layer and then verifies them against the staging API gateway. This ensures client-backend compatibility without relying solely on brittle end-to-end integration tests. The library also includes a `FakeBoclipsClient` implementation, offering an in-memory test client that simplifies integration testing for consumer applications by removing the need for HTTP mocks. Users are expected to provide their own configured Axios instance, including authentication, to the client.","language":"javascript","status":"active","version":"113.5.2","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install boclips-api-client","imports":["import { ApiBoclipsClient } from 'boclips-api-client';","import { FakeBoclipsClient } from 'boclips-api-client';","const existingCollection = await client.collectionsClient.get('sample-collection-id');"]},{"cmd":"yarn add boclips-api-client","imports":[]},{"cmd":"pnpm add boclips-api-client","imports":[]}],"homepage":"https://boclips.com","github":"https://github.com/boclips/boclips-api-client","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/boclips-api-client","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/boclips-api-client/compatibility"}}