Buildings
Info
This service provides information on buildings (gebouwen) on the TU Delft Campus and rooms (ruimtes) within these buildings.
Rest resources
Current version of this api: 0
Base URL : http://api.tudelft.nl/v0
Resource | Method | Description | Parameters |
---|---|---|---|
/gebouwen | GET | Returns a list of buildings | |
/gebouwen | GET | Returns a list of buildings with computer workspaces accessible to students | computerlokaal=true |
/gebouwen/<locatieCode> | GET | Returns information for the building specified by <locatieCode> | |
/gebouwen/<locatieCode>/ruimtes | GET | Returns a list of rooms with computer workspaces accessible to students for the building specified by <locatieCode> | computerlokaal=true |
Please note that at this moment there is no resource providing all rooms within buildings (which is what one would expect on retrieving /gebouwen/<locatieCode>/ruimtes without the "computerlokaal=true" parameter). It is only possible to retrieve all rooms with computer workspaces.
For information on general RestProxy parameters see RestProxy/Parameters
Examples
The following is the output for the request:
https://api.tudelft.nl/v0/gebouwen
{
"findAllLocatiesResponse" : {
"locatieLijst" : {
"locatie" : [ {
"locatieCode" : "63",
"fysiekAdres" : {
"binnenlandsAdres" : {
"straat" : "Anthony Fokkerweg",
"huisnummer" : "1",
"postcode" : "2628 XE",
"plaats" : "Delft"
}
},
"gpscoordinaten" : {
"@lat" : "51.99034",
"@lon" : "4.37501"
},
"naamNL" : "SIMONA Research Simulator",
"naamEN" : "SIMONA Research Flight Simulator"
}, {
"locatieCode" : "42",
"fysiekAdres" : {
"binnenlandsAdres" : {
"straat" : "Rotterdamseweg",
"huisnummer" : "141",
"postcode" : "2628 AL",
"plaats" : "Delft"
}
},
"gpscoordinaten" : {
"@lat" : "52.00023",
"@lon" : "4.36876"
},
"naamNL" : "Hogeschool INHOLLAND",
"naamEN" : "INHOLLAND University"
}, {
"locatieCode" : "40",
"fysiekAdres" : {
"binnenlandsAdres" : {
"straat" : "Rotterdamseweg",
"huisnummer" : "137",
"postcode" : "2628 AL",
"plaats" : "Delft"
}
},
"gpscoordinaten" : {
"@lat" : "52.00186",
"@lon" : "4.3677"
},
"naamNL" : "Haagse Hogeschool",
"naamEN" : "The Hague University of applied sciences"
}, {
<rest of file deleted>
The following is the output for the request:
http://api.tudelft.nl/v0/gebouwen?computerlokaal=true
{
"getLocatiesMetComputerRuimtesResponse" : {
"locatieLijst" : {
"locatie" : [ {
"locatieCode" : "23",
"fysiekAdres" : {
"binnenlandsAdres" : {
"straat" : "Stevinweg",
"huisnummer" : "1",
"postcode" : "2628 CN",
"plaats" : "Delft"
}
},
"gpscoordinaten" : {
"@lat" : "51.99913",
"@lon" : "4.37595"
},
"naamNL" : "Faculteit Civiele Techniek en Geowetenschappen (CiTG)",
"naamEN" : "Faculty of Civil Engineering and Geosciences (CiG? )"
}, {
"locatieCode" : "31",
"fysiekAdres" : {
"binnenlandsAdres" : {
"straat" : "Jaffalaan",
"huisnummer" : "5",
"postcode" : "2628 BX",
"plaats" : "Delft"
}
},
"gpscoordinaten" : {
"@lat" : "52.002496",
"@lon" : "4.369415"
},
"naamNL" : "Faculteit Techniek, Bestuur en Management (TBM)",
"naamEN" : "Faculty of Technology, Policy and Management"
}, {
"locatieCode" : "32",
"fysiekAdres" : {
"binnenlandsAdres" : {
"straat" : "Landbergstraat",
"huisnummer" : "15",
"postcode" : "2628 CE",
"plaats" : "Delft"
}
},
"gpscoordinaten" : {
"@lat" : "52.001622",
"@lon" : "4.370026"
},
"naamNL" : "Faculteit Industrieel Ontwerpen (IO)",
"naamEN" : "Faculty of Industrial Design Engineering (IDE)"
}, {
<rest of file deleted>
The following is the output for the request:
http://api.tudelft.nl/v0/gebouwen/23
{
"getLocatieByLocatieCodeResponse" : {
"locatie" : {
"locatieCode" : "23",
"fysiekAdres" : {
"binnenlandsAdres" : {
"straat" : "Stevinweg",
"huisnummer" : "1",
"postcode" : "2628 CN",
"plaats" : "Delft"
}
},
"gpscoordinaten" : {
"@lat" : "51.99913",
"@lon" : "4.37595"
},
"naamNL" : "Faculteit Civiele Techniek en Geowetenschappen (CiTG)",
"naamEN" : "Faculty of Civil Engineering and Geosciences (CiG? )"
}
}
}
The following is the output for the request:
http://api.tudelft.nl/v0/gebouwen/23/ruimtes?computerlokaal=true
{
"computerRuimteInformatieLijst" : {
"computerRuimteInformatie" : [ {
"ruimte" : {
"ruimteId" : "B23-00-HG 0.20",
"naamNL" : "0.20 ",
"naamEN" : "0.20 ",
"ruimteLocatie" : {
"locatieCode" : "23",
"fysiekAdres" : {
"binnenlandsAdres" : {
"straat" : "Stevinweg",
"huisnummer" : "1",
"postcode" : "2628 CN",
"plaats" : "Delft"
}
},
"gpscoordinaten" : {
"@lat" : "51.99913",
"@lon" : "4.37595"
},
"naamNL" : "Faculteit Civiele Techniek en Geowetenschappen (CiTG)",
"naamEN" : "Faculty of Civil Engineering and Geosciences (CiG? )"
}
},
"computerGebruik" : {
"ruimte" : {
"ruimteId" : "B23-00-HG 0.20"
},
"aantalBeschikbaar" : "83",
"aantalInGebruik" : "13",
"momentopnameDatumTijd" : "2013-02-21T09:37:01.3+01:00"
},
"evenementLijst" : null
}, {
"ruimte" : {
"ruimteId" : "B23-00-KG 00.070",
"naamNL" : "0.70 ",
"naamEN" : "0.70 ",
"ruimteLocatie" : {
"locatieCode" : "23",
"fysiekAdres" : {
"binnenlandsAdres" : {
"straat" : "Stevinweg",
"huisnummer" : "1",
"postcode" : "2628 CN",
"plaats" : "Delft"
}
},
"gpscoordinaten" : {
"@lat" : "51.99913",
"@lon" : "4.37595"
},
"naamNL" : "Faculteit Civiele Techniek en Geowetenschappen (CiTG)",
"naamEN" : "Faculty of Civil Engineering and Geosciences (CiG? )"
}
},
"computerGebruik" : {
"ruimte" : {
"ruimteId" : "B23-00-KG 00.070"
},
"aantalBeschikbaar" : "17",
"aantalInGebruik" : "9",
"momentopnameDatumTijd" : "2013-02-21T09:37:01.3+01:00"
},
"evenementLijst" : null
}, {
"ruimte" : {
"ruimteId" : "B23-00-KG 00.070",
"naamNL" : "Temp ",
"naamEN" : "Temp ",
"ruimteLocatie" : {
"locatieCode" : "23",
"fysiekAdres" : {
"binnenlandsAdres" : {
"straat" : "Stevinweg",
"huisnummer" : "1",
"postcode" : "2628 CN",
"plaats" : "Delft"
}
},
"gpscoordinaten" : {
"@lat" : "51.99913",
"@lon" : "4.37595"
},
"naamNL" : "Faculteit Civiele Techniek en Geowetenschappen (CiTG)",
"naamEN" : "Faculty of Civil Engineering and Geosciences (CiG? )"
}
},
"computerGebruik" : {
"ruimte" : {
"ruimteId" : "B23-00-KG 00.070"
},
"aantalBeschikbaar" : "5",
"aantalInGebruik" : "0",
"momentopnameDatumTijd" : "2013-02-21T09:37:01.3+01:00"
},
"evenementLijst" : null
}, {
<knip>