try {
                $GuzzleClient = new Client;
                $response = $GuzzleClient->get($url);
            } catch (RequestException $e) {
                switch ($e->getResponse()->getStatusCode()) {