The data from BASECAMP api is in xml format so for some projects, people JSON format is working well.
But how to resolve this problem from basecamp classic api.
I have googled and find that basecamp api is in xml format but i want data in json format .
I am just trying to fetch data in JSON format , but error shown in browser: You may have typed the URL incorrectly
In there api they have mentioned to fetch GET /GET /categories/#{id}.xml .
Here is my Code :
$Comments=$client->fetch('https://basecamp.com/*****/api/v1/categories.json');