Get data from API in WordPress

Get data from API in Wordpress