code: public function get(string $api, array $query = []): array
      {
          $options = [];
  
          if (!empty($query)) {
              $options['query'] = $query;
          }
  
          return $this->call('GET', $api, $options);
      }
docs: @param string $api
  @param array  $query
  
  @return array