Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Why People Should Learn Python. Parent comment
Guzzle doesn't look that bad. It looks like requests from Python, but you have to create a client first.
> $client = new Client(['base_uri' => 'http://httpbin.org']); > $response = $client->get('http://httpbin.org/get');
Or in Python
> response = requests.get('http://httpbin.org/get')
There are no comments on this comment yet.
Guzzle doesn't look that bad. It looks like requests from Python, but you have to create a client first.
> $client = new Client(['base_uri' => 'http://httpbin.org']); > $response = $client->get('http://httpbin.org/get');
Or in Python
> response = requests.get('http://httpbin.org/get')