You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
pyPostcode
2
2
==========
3
3
4
-
##Introduction
4
+
##Introduction
5
5
6
6
This is a Python library to request information from the PostcodeApi.nu API.
7
7
This API allows you to search for Dutch addresses using zipcodes.
@@ -11,26 +11,26 @@ For more information about this API, please visit http://postcodeapi.nu
11
11
This library supports only the v2 api.
12
12
13
13
14
-
##Installation
14
+
##Installation
15
15
16
-
###PyPI
17
-
```pip install pyPostcode```
16
+
###PyPI
17
+
`pip install pyPostcode`
18
18
19
-
###Manually
19
+
###Manually
20
20
21
21
pyPostcode consists of a single file (pyPostcode.py) that you can put in your python search path or in site-packages (or dist-packages depending on the platform)
22
22
You can also simply run it by putting it in the same directory as you main script file or start a python interpreter in the same directory.
23
23
pyPostcode works with Python 2.7.x (you're welcome to test other versions)
24
24
25
-
###API-key
25
+
###API-key
26
26
27
27
The API can only be used when you have your own API-key.
28
28
You can request this key by visiting: http://www.postcodeapi.nu/#pakketten
29
29
30
30
31
-
##Example
31
+
##Example
32
32
33
-
###Basic usage
33
+
###Basic usage
34
34
35
35
Get the address by using the zipcode and the house number
36
36
@@ -44,7 +44,7 @@ result = postcodeapi.getaddress('1011AC', 154) # use address search
0 commit comments