includes/eduadmin-api-client/rest-client.php
public function GET( $endpoint, $params, $method_name ) {
		$t = EDUAPI()->start_timer( $method_name . ' - GET' );
		$c = $this->get_curl_object( $endpoint . '?' . http_build_query( $params ) );
		$this->set_headers( $c, array() );
		$result = $this->execute_request( $c );
		EDUAPI()->stop_timer( $t );

		return $result;
	}
public function GET( $endpoint, $params, $method_name ) {
		$t = EDUAPI()->start_timer( $method_name . ' - GET' );
		$c = $this->get_curl_object( $endpoint . '?' . http_build_query( $params ) );
		$this->set_headers( $c, array() );
		$result = $this->execute_request( $c );
		EDUAPI()->stop_timer( $t );

		return $result;
	}
public function GET ( $ endpoint , $ params , $ method_name ) { $ t = EDUAPI ( ) -> start_timer ( $ method_name . ' - GET' ) ; $ c = $ this -> get_curl_object ( $ endpoint . '?' . http_build_query ( $ params ) ) ; $ this -> set_headers ( $ c , array ( ) ) ; $ result = $ this -> execute_request ( $ c ) ; EDUAPI ( ) -> stop_timer ( $ t ) ; return $ result ; }
@param string $endpoint
@param object|array $params
@param string $method_name

@return mixed
@param string $endpoint @param object|array $params @param string $method_name