for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Carpenstar\ByBitAPI\Spot\MarketData\Tickers;
use Carpenstar\ByBitAPI\Core\Endpoints\PublicEndpoint;
use Carpenstar\ByBitAPI\Core\Enums\EnumHttpMethods;
use Carpenstar\ByBitAPI\Spot\MarketData\Tickers\Response\TickersResponse;
use Carpenstar\ByBitAPI\Spot\MarketData\Tickers\Request\TickersRequest;
/**
* https://bybit-exchange.github.io/docs/spot/public/tickers
*/
class Tickers extends PublicEndpoint
{
public function getEndpointRequestMethod(): string
return EnumHttpMethods::GET;
}
protected function getEndpointUrl(): string
return "/spot/v3/public/quote/ticker/24hr";
protected function getResponseClassnameByCondition(array &$apiData = null): string
return TickersResponse::class;
protected function getRequestClassname(): string
return TickersRequest::class;