Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/lookup endpoint doesn't support api version #1

Open
jsmatfess opened this issue Jun 25, 2020 · 1 comment
Open

/lookup endpoint doesn't support api version #1

jsmatfess opened this issue Jun 25, 2020 · 1 comment

Comments

@jsmatfess
Copy link

Running the lookupTargets() function currently doesn't function and will always return the following error: "WARNING:root:Error looking up for targets". I believe this is the culprit:

response = self.baseRequest(endpoint, params = params)

I believe changing this line out to: response = self.baseRequest(endpoint, params = params, supports_version = False) might work, as https://engage.newmode.net/api/lookup/20316/zip=02143 (and the like) returns results in my browser, but https://engage.newmode.net/api/v1.0/lookup/20316/zip=02143 gives me a 403.

@yi-yang-github
Copy link

I believe this has been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants