In python what is a response object returned from a website? -


i'm trying use etsy api , able running source. gave key, , returned following when printed out.

<etsy._v2.etsyv2 object @ 0xb7284ccc> 

however have no idea it. github-repo doesn't have documentation, , command suppose follow doesn't work. read etsy api , didn't find mentioned command getfrontfeaturedlistings github listed.

i've had issue before http response object , told use response.content check out more info on object. didn't work object i'm wondering if there simple way test generic object, or @ least see object contains?

when in doubt can use dir built-in method on arbitrary python object. show methods , fields attached object. https://docs.python.org/3/library/functions.html#dir

anyway, sorry hear poor documentation of library. last time used etsy's api created little class used requests. wasn't work since etsy lays out of uris + documentation nicely on developer site. https://www.etsy.com/developers/documentation/reference/favoritelisting


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -