code: private function get_curl_object( $endpoint ) {
  		if ( ! strpos( $endpoint, '/' ) === 0 ) {
  			$endpoint = '/' . $endpoint;
  		}
  		$c = curl_init( self::$root_url . $this->api_url . $endpoint );
  		curl_setopt( $c, CURLOPT_RETURNTRANSFER, true );
  
  		return $c;
  	}
docs: @param string $endpoint
  
  @return resource