Hi - I have downloaded and read the Euro 2016 example and get that...nearly..
My problem is - how can send a JSON GET request that returns a variable number of arrays...i.e.
{"tracking_info": [{"TrackingEventDate": "01-oct-2016", "TrackingEventDescription": "Delivered", "TrackingEventAdditionalInformation": "SELBY SERVICE CENTRE", "TrackingEventTime": "14:07:01"}, {"TrackingEventDate": "01-oct-2016", "TrackingEventDescription": "Out for delivery", "TrackingEventAdditionalInformation": "SELBY SERVICE CENTRE", "TrackingEventTime": "09:03:00"}, {"TrackingEventDate": "01-oct-2016", "TrackingEventDescription": "Arrived At Depot", "TrackingEventAdditionalInformation": "SELBY SERVICE CENTRE", "TrackingEventTime": "07:00:00"}, {"TrackingEventDate": "30-sep-2016", "TrackingEventDescription": "Departed Depot", "TrackingEventAdditionalInformation": "HATFIELD TERMINAL", "TrackingEventTime": "19:12:56"}, {"TrackingEventDate": "30-sep-2016", "TrackingEventDescription": "Arrived At Depot", "TrackingEventAdditionalInformation": "HATFIELD TERMINAL", "TrackingEventTime": "19:09:45"}, {"TrackingEventDate": "30-sep-2016", "TrackingEventDescription": "Parcel Length Check", "TrackingEventAdditionalInformation": "HATFIELD TERMINAL", "TrackingEventTime": "19:09:44"}, {"TrackingEventDate": "29-Sep-2016", "TrackingEventDescription": "Order Generated", "TrackingEventAdditionalInformation": "NURSERY", "TrackingEventTime": "00:00:00"}, {"TrackingEventDate": "28-sep-2016", "TrackingEventDescription": "Parcel data received awaiting coll.", "TrackingEventAdditionalInformation": "JERSEY C/I SERVICE CENTRE", "TrackingEventTime": "00:00:00"}], "parcel_info": {"inwardPostcode": "9JU", "name": "Mr Chris Brown", "despatch_date": "<type 'datetime.datetime'>", "address1": "46 Chatsworth Crescent", "clientid": "JERSEY PLANTS DIRECT", "logo_link": "#http://www.jerseyplantsdirect.com/", "reference1": "RED003X", "reference2": "7410381", "clientnumber": "101", "outwardPostcode": "DN5", "logo": "./JC_Logo_HR_small.jpg", "postcodefiller_url": "+", "imgurl": "http://tracking.yodel.co.uk/wrd/run/WT_XPOD_IMAGE_PW.getImageRequest2?PclNo=JJD0002251823443285&UserName=9137629&UserPassword=abc123", "description": ""}}
This gives me a Tracking_info array of 8 items - each with four lines in each
But for another search I might have a Tracking_info array of 4 or 2 or even 10?
Any ideas how to approach?
Thanks