senseobservationsystems / commonsense-python-lib

Library for using CommonSense API in Python applications
Apache License 2.0
4 stars 1 forks source link

login failed: unauthorized #12

Closed stmeissner closed 11 years ago

stmeissner commented 11 years ago

I've tried running https://github.com/senseobservationsystems/commonsense-python-lib/blob/master/SenseAPITest.py with my credentials, but the login() function returned an 403 - response meaning "unauthorized".

My credentials work very well on the CommonSense website, but not through this API. My account status is "Apprentice", could this be a problem here?

yulrizka commented 11 years ago

Hello Stevan,

By default, the SenseAPITest.py is using our test server.

you can verify this in on https://github.com/senseobservationsystems/commonsense-python-lib/blob/master/SenseAPITest.py#L78

You can comment or remove this live in order to use our live server.

Regards,