pandascore_client v1.0.0
PandascoreClient TypeScript SDK 1.0.0
Welcome to the PandascoreClient SDK documentation. This guide will help you get started with integrating and using the PandascoreClient SDK in your project.
Versions
- API version:
2.53.0
- SDK version:
1.0.0
About the API
The PandaScore API offers real-time data, statistics, and odds for esports competitions, providing comprehensive information for developers building esports-related applications.
Table of Contents
Setup & Configuration
Supported Language Versions
This SDK is compatible with the following versions: TypeScript >= 4.8.4
Installation
To get started with the SDK, we recommend installing using npm
:
npm install pandascore_client
Authentication
Access Token Authentication
The PandascoreClient API uses an Access Token for authentication.
This token must be provided to authenticate your requests to the API.
Setting the Access Token
When you initialize the SDK, you can set the access token as follows:
const sdk = new PandascoreClient({ token: 'YOUR_TOKEN' });
If you need to set or update the access token after initializing the SDK, you can use:
const sdk = new PandascoreClient();
sdk.token = 'YOUR_TOKEN';
Services
The SDK provides various services to interact with the API.
Models
The SDK includes several models that represent the data structures used in API requests and responses. These models help in organizing and managing the data efficiently.
1 year ago