How to call external APIs from a WordPress plugin
A Towards Data Science post walks data scientists through calling REST APIs from Python, which is fine in a notebook. In a WordPress plugin the same call needs wp_remote_get, error checks, a transient and a key kept out of the code. This is the version I ship.