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

sdk currently broken? #13

Closed
staeff opened this issue Mar 5, 2016 · 3 comments
Closed

sdk currently broken? #13

staeff opened this issue Mar 5, 2016 · 3 comments

Comments

@staeff
Copy link

staeff commented Mar 5, 2016

Hi,
is it just my setup or does the sdk currently not work. I just tried run a basic example from the usage section of the docs and got an

skyscanner.skyscanner.EmptyResponse: Response has no content.

I also tried to run the test, which also showed this result

2016-03-05 08:08:27,617 - skyscanner.py:239 - WARNING - Response has no content.
@ardydedase
Copy link
Contributor

Hi @staeff,

This is caused by the rate limit per minute. If you run the test directly for one test case:

python -m unittest tests.test_skyscanner.TestFlights.test_get_cheapest_quotes_json

You are less likely to hit the rate limit.

Apologies for the inconvenience. We have to apply rate limits for our publicly available keys.

Let me know if there's anything else I can help.

Thanks,
Ardy

@staeff
Copy link
Author

staeff commented Mar 13, 2016

Hi @ardydedase,
thanks for your reply. Your hint was correct, I was able to run a single test case.
Best,
Stephan

@staeff staeff closed this as completed Mar 13, 2016
@brianshu
Copy link

brianshu commented Jun 26, 2016

have same issue here, with simply use the code from your usage section and got exact same response as:
skyscanner.skyscanner.EmptyResponse: Response has no content.

I think this only count for one time search, isn't it?
why this caused rate to be over 5 times limitation per minute?

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

3 participants