What’s the weather like in …? Just cURL it!

To know what the weather is like in a specific (or in the current city) I always Google for β€œ{cityname} weather forecast”. Thanks to wttr.in I can now also get to know that via cURL. Just send a cURL request to the URL and voila: $ curl wttr.in Weather for City: Sint-Amandsberg, Belgium \ / […]

HTTPie – Command line HTTP client

HTTPie (pronounced aych-tee-tee-pie) is a command line HTTP client. Its goal is to make CLI interaction with web services as human-friendly as possible. It provides a simple http command that allows for sending arbitrary HTTP requests using a simple and natural syntax, and displays colorized output. HTTPie can be used for testing, debugging, and generally […]

Guzzle β€” PHP HTTP Client

Guzzle is a framework that includes the tools needed to create a robust web service client, including: Service descriptions for defining the inputs and outputs of an API, resource iterators for traversing paginated resources, batching for sending a large number of requests as efficiently as possible. <?php require_once ‘vendor/autoload.php’; use Guzzle\Http\Client; // Create a client […]