PHP: using php cURL to fetch remote REST json API
Learn how to use PHP cURL. PHP cURL is a great tool for interacting with web services and APIs, and it provides a lot of control over the requests and responses.
Wordpress: Using wp_remote_get() to fetch remote REST json API
Learn how to use wp_remote_get() a wordpress builtin api to fetch any REST apis. wp_remote_get() is useful if you want to integrate data from another web service into your WordPress site, or if you want to consume data from an external API for some other purpose. For explanation we will use github REST api and pull git commits and print them.
Hugo: Using getJSON to fetch remote REST API in hugo template
Hugo is very powerful static site builder, it can fetch any JSON rest API and build content out of it. In this example we will use getJSON hugo function to fetch the json data from Woocommerce site. You can develope this further and create a full fledged headless e-commerce website with hugo at the frontend wordpress and woocommerce as a backend.
Delhivery API status tracking rest API
How to use Delhivery REST API for tracking shipment status.