On Friday, November 20, 2015 at 10:49:45 AM UTC-8, Dave S wrote:
>
>
>
> On Thursday, November 19, 2015 at 10:52:05 PM UTC-8, MOHANA LAHARI
> Tanguturi wrote:
>>
>> i am using this syntax
>>
>> results =
>> json.load(urllib.urlopen("http://www.pricetree.com/dev/api.ashx?pricetreeId=11072&apikey=7770AD31-382F-4D32-8C36-3743C0271699"))
>>
>>
>> it is showing this error
>>
>> <class 'urllib2.HTTPError'> HTTP Error 403: Forbidden
>> what should i do????
>> pls reply to this qustion....
>>
>>
>
> Does pricetree.com expect either a user to be logged in or an app to have
> an API authorization token?
>
And if the latter, is that what the apikey parameter is for? (reads to
right ... oh, duh!)
You may either have the wrong key (typo), or an expired one. Not having
used pricetree.com myself, I don't know much about their API, so forgive my
vagueness.
/dps
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.