Skip to content

Instantly share code, notes, and snippets.

@Jonty
Last active March 4, 2024 01:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jonty/ad8e27fad98227fb380bc081fcb4ab93 to your computer and use it in GitHub Desktop.
Save Jonty/ad8e27fad98227fb380bc081fcb4ab93 to your computer and use it in GitHub Desktop.
Open House London API (Or any open-city.org.uk city)

This was reverse engineered from the Android app

Bootstrap

All listings

Collections

Featured listings

Category

Walks and tours

Building

Optional parameters

Pagination:

  • Page offset: ?page=1
  • Items per-page: ?per_page=12

Filters:

  • Date: ?date=yy-MM-dd
  • Search: ?q=$SEARCHQUERY
  • Building type: ?building_type_ids=$idOR$idOR$id (IDs in bootstrap)
  • Building period: ?building_period_ids=$idOR$idOR$id (IDs in bootstrap)
  • London borough: ?london_borough_ids=$idOR$idOR$id (IDs in bootstrap, "london_boroughs" is "all")
  • Booking required: ?booking_required=true
  • Facilities available: ?facility_ids=$idAND$idAND$id...
    • IDs in bootstrap, some also hardcoded:
    • disabled access = 1
    • partial disabled access = 2
    • bookshop = 3
    • parking = 4
    • refreshments = 5
    • toilets = 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment