bachya/pyiqvia

All US zip codes are required to be type Integer

Closed this issue · 0 comments

Describe the bug
The zip_code parameter in Client only accepts string values.

To Reproduce
Steps to reproduce the behavior:

  1. Enter zip code as integer (eg. 94565)
  2. Call any methods on the Client object

Expected behavior
The JSON response is returned

Actual Behavior
Error received TypeError: object of type 'int' has no len()

Workaround
Enter all zip codes as integers. Recommend updating the documentation