Pezzo Client - Node.js
The Pezzo client is an NPM package that allows you to easily integrate your application with Pezzo. The client was built with TypeScript and is type-safe.
Getting Started
Intall the Pezzo Client
Install the @pezzo/client NPM package:
Initialize the Pezzo Client
You only need to initialize the Pezzo client once, and then you can use it throughout your application.
Pezzo automatically looks for the following environment variables:
PEZZO_API_KEY
: Your Pezzo API keyPEZZO_PROJECT_ID
: Your Pezzo project IDPEZZO_ENVIRONMENT
: The environment you want to use (e.g.Production
, which is the default environment created by Pezzo)
Variables found will be used automatically for configuration.
API Reference
Pezzo API key
Pezzo project ID
Pezzo environment name
Pezzo server URL