How can I echo specific data from json api response

I am trying to understand rest api more, so I created a request with a 3rd party application, the request is working but I don’t know how to display specific data from JSON, for example here I want to echo the “status” value which is “in progress”

​

{
“id”: “string”,
“custom_id”: “string”,
“name”: “string”,
“text_content”: “string”,
“description”: “string”,
“status”: {
“status”: “in progress”,
“color”: “#d3d3d3”,
“orderindex”: 1,
“type”: “custom”
},
“orderindex”: “string”,
“date_created”: “string”,
“date_updated”: “string”,
“date_closed”: “string”,
“creator”: {
“id”: 183,
“username”: “John Doe”,
}

also, is there anything that I must do to protect the API key?

1 Comment

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer