Client
The Client class is the main entry point for the Market Data PHP SDK. It provides access to all API endpoints through resource properties.
Creating a Client
<?php
use MarketDataApp\Client;
// Using environment variable or .env file
$client = new Client();
// With explicit token
$client = new Client('your_api_token_here');
// With token and custom logger
use Psr\Log\LoggerInterface;
$client = new Client('your_api_token_here', $logger);