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

Commit e284044

Browse files
committed
Updated example
1 parent 251c98e commit e284044

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import pyPostcode as pca
1+
from pyPostcode import pyPostcodeApi
22

3-
postcodeapi = pca.pyPostcodeApi('{YOUR_API_KEY}')
3+
postcodeapi = pyPostcodeApi('{YOUR_API_KEY}')
44
result_street = postcodeapi.getaddress('1011AC') # use p6 search
55
result_address = postcodeapi.getaddress('1011AC', 154) # use address search
66
print result_street._data, result_address._data

0 commit comments

Comments
 (0)