{"library":"trustpilot","type":"library","category":null,"description":"The `trustpilot` package is an official Node.js HTTP client for interacting with the Trustpilot APIs. Currently stable at version 4.0.1, released in April 2024, it provides a structured and type-safe way to access Trustpilot's data, including business reviews and company profile information. Built with TypeScript and leveraging `axios` for HTTP requests, it offers a modern promise-based interface with async/await support, targeting Node.js `v20.x`. Key differentiators include built-in support for both API key and OAuth-based authentication, with the flexibility to specify different OAuth grant types (e.g., `client_credentials` for service-to-service communication). The release cadence is generally infrequent, with major versions (like v3 and v4) typically driven by significant architectural changes, such as the underlying HTTP client library. It abstracts away much of the complexity of direct API interactions, providing a client instance with sane defaults.","language":"javascript","status":"active","version":"4.0.1","tags":["javascript","API","Trustpilot","reviews","review","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install trustpilot","imports":["import { TrustpilotApi } from 'trustpilot';"]},{"cmd":"yarn add trustpilot","imports":[]},{"cmd":"pnpm add trustpilot","imports":[]}],"homepage":"https://developer.trustpilot.com","github":"https://github.com/trustpilot/node-trustpilot","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/trustpilot","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/trustpilot/compatibility"}}