From 7598f46cb5784c2113e9cd11444a42343fc5557d Mon Sep 17 00:00:00 2001 From: Jack S Date: Mon, 27 Feb 2023 13:57:19 +0000 Subject: [PATCH] f --- UPRN.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/UPRN.md b/UPRN.md index b7f940c6a..4299ff986 100644 --- a/UPRN.md +++ b/UPRN.md @@ -8,20 +8,22 @@ API DOCS: https://osdatahub.os.uk/docs/places/technicalSpecification https://api.os.uk/search/places/v1/find?query=Ordnance%20Survey%2C%20Adanac%20Drive%2C%20SO16&key= -# Question: Can we do API lookups? Are there any limitations on the product (API requests etc.) +## Question: Can we do API lookups? Are there any limitations on the product (API requests etc.) - Can't see any sort of limitation for our account: "As a member of the PSGA you are entitled to free Public Sector data transactions" https://osdatahub.os.uk/dashboard +The API can return 429 but cannot find more details about it: +429 Too many requests Exceeded the number of requests per minute (rate-limit). -# Additional QQ and notes: + +## Additional QQ and notes: - when searching UPRN from address there are usually multiple results and match accuracy isn't provided. Do we want users to pick the matching address or should we just pick the first match? - could not find a free OS ruby client for the API that I would recommend using. Best option is this but seems to be relying on a private repository https://github.com/DEFRA/defra-ruby-address/ - Auth strategy, there's 3 of them HTTP Header / Query String / OAuth2. - -Flows that need to be handled: +## Flows that need to be handled: - UPRN check: - API is down / not responding - UPRN is invalid