Skip to content
This repository was archived by the owner on May 27, 2026. It is now read-only.

[IMP] support the v2 api#10

Merged
steffex merged 2 commits into
steffex:masterfrom
hbrunn:master-v2
Dec 8, 2015
Merged

[IMP] support the v2 api#10
steffex merged 2 commits into
steffex:masterfrom
hbrunn:master-v2

Conversation

@hbrunn

@hbrunn hbrunn commented Dec 3, 2015

Copy link
Copy Markdown
Contributor

This is a preparation to support the v2 api (http://www.postcodeapi.nu/docs/)

For now, the default is v1, but we can change this to v2 when v1 will be deactivated in March

@hbrunn

hbrunn commented Dec 3, 2015

Copy link
Copy Markdown
Contributor Author

@StefanRijnhart @NL66278 might be interested in this

@steffex

steffex commented Dec 7, 2015

Copy link
Copy Markdown
Owner

Good job @hbrunn. Had it on my todo list for the end of the month :)

Perhaps it's a good idea to also implement the unique address ID in the result, in case you want to compare the result address to a previous fetched one.

@steffex steffex added this to the v0.2 milestone Dec 7, 2015
steffex added a commit that referenced this pull request Dec 8, 2015
@steffex steffex merged commit 595d753 into steffex:master Dec 8, 2015
@hbrunn

hbrunn commented Dec 8, 2015

Copy link
Copy Markdown
Contributor Author

thanks for the merge!

@StefanRijnhart

Copy link
Copy Markdown
Collaborator

Excellent, @hbunn! Is there a reason to default to v1? Defaulting to v2 now saves everyone another software update before march.

@hbrunn

hbrunn commented Dec 11, 2015

Copy link
Copy Markdown
Contributor Author

@StefanRijnhart you need a new api key for v2, so I figured it might be more convenient to have users not needing to change anything right now, but only when v1 is dead for good

@StefanRijnhart

Copy link
Copy Markdown
Collaborator

Ah, I see.

@StefanRijnhart

Copy link
Copy Markdown
Collaborator

@steffex care to attempt a release on Pypi?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants