My question:
Hi everyone, I am total newbie in APIs, programming… What I want to achieve is, I have an url, where I get some data in json format, which a lot of sub fields, and I want in Postman to order the array by one of that field, and once sorted get another URL, and this is what I put in the app with all the data already sorted.
The URL is this: https://sedeaplicaciones.minetur.gob.es/ServiciosRESTCarburantes/PreciosCarburantes/EstacionesTerrestres/FiltroMunicipioProducto/1220/1
"ListaEESSPrecio": [
{
"C.P.": "09003",
"Dirección": "CL GENERAL SANZ PASTOR, S.N.",
"Horario": "L-V: 08:00-16:00",
"Latitud": "42,344667",
"Localidad": "BURGOS",
"Longitud (WGS84)": "-3,698667",
"Margen": "D",
"Municipio": "Burgos",
"PrecioProducto": "1,809",
"Provincia": "BURGOS",
"Remisión": "OM",
"Rótulo": "REPSOL",
"Tipo Venta": "P",
"IDEESS": "5989",
"IDMunicipio": "1220",
"IDProvincia": "09",
"IDCCAA": "08"
},
{
"C.P.": "09001",
"Dirección": "CARRETERA BURGOS-QUINTANADUEÑAS KM. 3",
"Horario": "L-D: 07:00-23:00",
"Latitud": "42,364306",
"Localidad": "BURGOS",
"Longitud (WGS84)": "-3,711944",
"Margen": "D",
"Municipio": "Burgos",
"PrecioProducto": "1,839",
"Provincia": "BURGOS",
"Remisión": "dm",
"Rótulo": "LAS TERRAZAS",
"Tipo Venta": "P",
"IDEESS": "10753",
"IDMunicipio": "1220",
"IDProvincia": "09",
"IDCCAA": "08"
}]
And I want that all the Gas Stations I get, to be sorted by the attribute “PrecioProducto”
Thank you so much.