Timeline for Py-StackExchange: An API wrapper for Python
Current License: CC BY-SA 2.5
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 15, 2010 at 17:24 | comment | added | Lucas Jones |
@Edan: Darn comment edit time limits. It's actually user_id not userid in the library code.
|
|
Jun 15, 2010 at 17:18 | comment | added | Lucas Jones |
@Edan: Done now in the latest revision, with the same syntax. fetch_page (but not other overloads right now) can do the same, too.
|
|
Jun 13, 2010 at 15:59 | comment | added | Lucas Jones |
@Edan: Not in your specific case right now (see the FAQ - link in question - for those that are covered), as I'm not sure how best to implement it. Do you think calling me.answers.fetch(body='true') would be best?
|
|
Jun 13, 2010 at 15:57 | comment | added | Lucas Jones | I've also updated the FAQ with this, as it's not documented very clearly. | |
Jun 13, 2010 at 15:38 | comment | added | Edan Maor | Yeah just figured out the be_inclusive() bit. Is there any way to specify it per-request? (I assume most people won't want to get all the bodies and all the comments from every request, just from specific requests). I can see that there are places where you check for a "body" keyword param, but I'm not sure where I can send one in the snippet above... | |
Jun 13, 2010 at 15:36 | comment | added | Lucas Jones |
Ah, sorry. Due to a change in the API (I think - or perhaps me just being stupid and not reading the docs close enough!) question and answer bodies need to be explicitly requested. You can do this through so.be_inclusive() , which you should call before your first request.
|
|
Jun 13, 2010 at 15:27 | history | answered | Edan Maor | CC BY-SA 2.5 |