Open pdehaye opened 4 years ago
To the best of our ability, we think the TEKs are stored at URLs of the shape https://www.pt.bfs.admin.ch/v1/gaen/exposed/{timestamp of day at midnight in GMT}
.
[EDIT: confirmed with https://www.pt.bfs.admin.ch/v1/gaen/exposed/1592611200000 ]
The CoronaRiskScoring project is trying to assess how different contact tracing apps are being parametrized. For this purpose, we need to know how many TEKs get published per day, and their risk levels (all public information).
Project considered We are looking at SwissCovid.
What we need We need to have a procedure describing how to pull down the keys reliably.
Nice to have We would like to find in the code where this code is downloaded from, which is generally around
func detectExposures(configuration: ENExposureConfiguration, diagnosisKeyURLs: [URL], completionHandler: @escaping ENDetectExposuresHandler) -> Progress
in the iOS app.Excellent to have Ideally we would have a little code snippet to run and pull down the necessary data, or a URL to do this directly.