Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added /stadfang endpoint #472

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sse87
Copy link
Contributor

@sse87 sse87 commented Oct 5, 2018

New endpoint, here is an old issue about it: #242

Just like /calendar it's not a scraper but it has all the data in stadfang.js which exports an array of strings. 118907 items to be exact.

Example of a string:
103836;Ármúli 42;108;Ármúli;Ármúla;42;;64.13349537;-21.87428225
It's split into:
landNumber;address;zipCode;streetNf;streetThf;houseNumber;houseLetter;latitude;longitude

Like described in the docs at least one of the filter parameters must be provided:
address, zipCode, street, number, letter, landNumber or coordinates (latitude and longitude)

Only optional is radius which is only used when coordinates are provided and default value is '1.0'

Checklist

  • Write tests
  • Write documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant