src/Request.php
public static function request($endpoint)
  {
    return (new Request(NULL, NULL, NULL))->host($endpoint)->get()->path('')->accept('application/json');
  }
public static function request($endpoint)
  {
    return (new Request(NULL, NULL, NULL))->host($endpoint)->get()->path('')->accept('application/json');
  }
public static function request ( $ endpoint ) { return ( new Request ( NULL , NULL , NULL ) ) -> host ( $ endpoint ) -> get ( ) -> path ( '' ) -> accept ( 'application/json' ) ; }
Construct an new Request by providing an endpoint.
Construct an new Request by providing an endpoint .