I have been trying to use some API’s from various services, At the moment im trying to retrieve data about a video on vimeo,
I have successfully got the file and read the contents, however, i do not know how to access each part of the file that is returned as a .json.
Basically, how do i access the data in the json file using PHP
Thanks
Read it into a variable using:
then you can access the parts using:
etc.
Just use
print_r($data);to see all available fields.