(Deprecated) GET /grid/widget_items_<lang>.json - List of shows

Get the list of shows classified by dates, with orders by venues, hours and headliners.
For each show, the main information is returned (artist or event title, date and time start, venue ID, tags and tag main color).

Endpoint URL

https://s3.amazonaws.com/goeventweb-static.greencopper.com/<hash>/<project_tag>/assets/widgets/grid/widget_items_<lang>.json

Request information

Request type

GET

Request parameters

ParameterMandatoryDescription
project_tagX


See common endpoint parameters
for more information

hashX
langX

Response information

A dictionary of all shows, all shows dates, all shows venues and associated orders, and order per venues and per hours.

  • On the "dates" key, a dict of shows dates. For each show date, the associated formatted date in short format (Day name + number).
    Can be used to display a list of dates to filter shows, or to create headers per date.
  • On the "venues" key, a dict of all the shows venues. For each show venue, the ID, the title and the number of shows for that venue. 
    Can be used to display a list of venues to filter shows, or to create headers per venue.
  • On the "venues_order" key, the list of venue IDs ordered in the same way it is on gomanager with the "order" property. 
    Can be used to sort venues per order.
  • On the "items" key, all of the shows possible, and all their infos (ID, artist or event title, schedule object type ("artist" or "event"), real date and time start, venue ID, show tags, show tag main color). There is also a key for each date. For each date key, the shows can be retrieved from 3 different ways, depending on the needs. For each, the id of the item is given.
      • On the "byVenue" key, a dict of all venues IDs, and for each venue, the list of associated shows for that venue, ordered by time.
      • On the "byHour" key, a dict of all hours IDs, and for each hour, the list of associated shows for that hour, ordered by time.
  • On the "hours" key, a dict of all of the hours possible, and their ID and formatted time start.

Response format

JSON

Response sample

[
    {
        "dates": {
            "2014-08-30": {
                "formattedDate": "Saturday 30",
                "id": "2013-08-30",
            },
            "2014-08-31": {
                "formattedDate": "Sunday 31",
                "id": "2013-08-31",
            },
            ...
        },
        "venues": {
            "1": {
				"id": "1",
                "title": "Mainstage",
                "nbItems": 9
            },
            "2": {
				"id": "2",
                "title": "Green Stage",
                "nbItems": 21
            },
            ...
        },
		"venuesOrder": [
			"7",
			"6",
			"5"
		],
        "items": {
                "197": {
                        "id": 197,
                        "title": "Arcade Fire",
                        "type": "artist",
                        "dateStart": "2014-08-30",
                        "timeStart": "16:00:00",
                        "formattedTimeStart": " 4:00 PM",
                        "gcInfo": "artist$arcade-fire/127",
                        "venueId": "1",
                        "tags": ",80,",
                        "color": "#337FC3",
						"objectId": "127",
                        "favoriteId": 197
                },
                "113": {
                        "id": 113,
                        "title": "Workshop",
                        "type": "event",
                        "dateStart": "2014-08-30",
                        "timeStart": "14:00:00",
                        "formattedTimeStart": " 2:00 PM",
                        "gcInfo": "event$workshop/2",
                        "venueId": "5",
                        "tags": ",118,",
                        "color": "#8D48AB",
                        "objectId": "2",
                        "favoriteId": 113
                },
	     	   "2014-08-30": {
	        	    "byVenue" : {
					   "5" : [
							191,
							98,
							99
						],
						"7" : [
							192,
							100
						]
    	       		 },
					"byHour" : {
					   "1" : [
							191,
							98,
							99
						],
						"14" : [
							192,
							100
						]
    	     	    }
       	 	}
		},
		"hours" : [
			{
				"id" : "12",
				"formattedTimeStart" : "12:00 PM"
			},
			{
				"id" : "13",
				"formattedTimeStart" : "13:00 PM"
			}
		]
    }
]