I need a concise PHP script that connects to a real-estate API, calls the endpoint dedicated to property listings, and returns the raw response in a clean, machine-readable format (JSON preferred). The job is straightforward: write, run, and verify the request so I can see live listing data coming back from the server. If the API requires keys or tokens, I’ll provide them once we start; otherwise, the script should work against the public endpoint. Please include: • Well-commented PHP code that performs the call and handles basic errors • A short read-me explaining how to run the script locally • A sample of the returned JSON saved to a file for quick inspection If you’ve worked with RESTful real-estate feeds before, it should be a quick task—just show me the response and confirm the endpoint is behaving as expected.