Skip to content

Commit cbb3515

Browse files
committed
Updated README to reflect new usage.
1 parent f19ffc6 commit cbb3515

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ Official python library for GetZiptastic.com
1313
from ziptastic import Ziptastic
1414

1515
# Set your API key. (Available at https://www.getziptastic.com/dashboard)
16-
Ziptastic.api_key = '<your api key>'
17-
result = Ziptastic.get_from_postal_code('48867')
16+
api = Ziptastic('<your api key>')
17+
result = api.get_from_postal_code('48867')

0 commit comments

Comments
 (0)