Php Script To Render A Widget Using Either Json Or Xml Input

The PHP page should be able to:
– Parse two request parameters (via GET): location (loc) and query (q)
– Use those parameters to build an REST API request to external API that renders either XML or JSON (see attached files for example) — choice is up to developer
– Parse either the JSON or XML response and render into an HTML page that looks like the image attached

Additional requirements:
– Test and fix bugs to get as close to image in requirements on following browsers: IE7+, Firefox, Chrome, and Safari

Leave a Reply

Your email address will not be published. Required fields are marked *