Learn to interact with real-world APIs using command line tools
The Post Office API allows you to fetch detailed information about any location in India using its PIN code. This includes the post office name, district, state, and more.
curl command should be available (pre-installed on most Ubuntu systems) with your desired PIN code.
curl https://api.postalpincode.in/pincode/
curl https://api.postalpincode.in/pincode/530016
400001110001560001600001530016The wttr.in Weather API provides current weather information for any city in the world. It displays beautifully formatted weather data directly in your terminal.
curl command available with your desired city.
curl wttr.in/
curl wttr.in/Visakhapatnam
curl wttr.in/Mumbaicurl wttr.in/Londoncurl wttr.in/NewYorkcurl wttr.in/Tokyocurl wttr.in/Paris?format=3 for compact output
curl wttr.in/Visakhapatnam?format=3?m for metric or ?u for US unitscurl wttr.in/Moon.png at the end to get an image