The Parking Fairy Using open data effectively in mobile apps. - - PowerPoint PPT Presentation

the parking fairy
SMART_READER_LITE
LIVE PREVIEW

The Parking Fairy Using open data effectively in mobile apps. - - PowerPoint PPT Presentation

The Parking Fairy Using open data effectively in mobile apps. Background December 2015: Proposed Parking Space Alert for Data Movement Competition February 2016: Became one of 3 finalist apps in Data Movement 9th May 2016: The


slide-1
SLIDE 1

The Parking Fairy

Using open data effectively in mobile apps.

slide-2
SLIDE 2

Background

  • December 2015: Proposed ‘Parking Space Alert’ for Data

Movement Competition

  • February 2016: Became one of 3 finalist apps in Data

Movement

  • 9th May 2016: The Parking Fairy launched (iOS Only)
  • 14th May 2016: Android version launched (after user requests -

including from local MP Chi Onwurah)

slide-3
SLIDE 3
slide-4
SLIDE 4

Architecture

iOS App Android App REST API NECA API

h t t p s w i t h c l i e n t v e r i f i c a t i

  • n

h t t p s w i t h c l i e n t v e r i f i c a t i

  • n

https with API key

slide-5
SLIDE 5

Node.js REST API performs parsing, ‘data set matching’, sorting and caching.

slide-6
SLIDE 6

Datasets & APIs

Uses both ‘static’ and ‘dynamic’ car park APIs from the NECA’s netraveldata.co.uk service.

https://www.netraveldata.co.uk/api/v2/carpark/static https://www.netraveldata.co.uk/api/v2/carpark/dynamic

(both have relatively friendly JSON responses)

slide-7
SLIDE 7

Static API provides car park names, addresses & geolocations. Dynamic API provides live spaces data.

slide-8
SLIDE 8

Live space data currently only available for indoor car parks in Newcastle & Gateshead Quays. Sunderland ‘coming soon’.

slide-9
SLIDE 9

Static API polled once a day. Dynamic API polled on every request for live info

(assuming a cache miss).

slide-10
SLIDE 10

Data Quality

Generally, very good*.

(*some legwork required).

slide-11
SLIDE 11

Documentation Quality

Not so much*.

(*virtually non-existent).

slide-12
SLIDE 12

No docs? No problem!

slide-13
SLIDE 13

Get a good HTTP API client and spend some time toying with the APIs.

(I’d recommend Postman)

slide-14
SLIDE 14

Car parks match between APIs on systemCodeNumber

slide-15
SLIDE 15

Be considerate - add caching!

(node-cache is awesome for Node.js)

slide-16
SLIDE 16

Play with the data. Make it useful. Have fun.

slide-17
SLIDE 17

What next? Where next?

slide-18
SLIDE 18

The Parking Fairy

@parkingfairyapp info@parkingfairyapp.com www.parkingfairyapp.com