Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/praw-dev/praw

PRAW, an acronym for "Python Reddit API Wrapper", is a python package that allows for simple access to Reddit's API.
https://github.com/praw-dev/praw

fixed another variable naming error

2d7d914818d567d827a4c8e7bf45075acfba35dc authored over 14 years ago by mellort <[email protected]>
Fixed the other attr typo :).

c3594d70f7c63edc0185777ca774a8c618129c8c authored over 14 years ago by MY <[email protected]>
fixed small variable naming error

18652bf1d72f80f221fa9fab4818e07538e5b037 authored over 14 years ago by mellort <[email protected]>
Revert "Replaced chained if with a dict. I guess this is arguable with only 3 conditions, but it's a tiny bit more concise, and a bit easier to maintain."

This reverts commit 366566937e4897f7b732b5c9b079a7b104c84b43. I like the idea, but I think it ma...

78525758060dfb0d1c4769a49aecc85bcd155b35 authored over 14 years ago by mellort <[email protected]>
Replaced chained if with a dict. I guess this is arguable with only 3 conditions, but it's a tiny bit more concise, and a bit easier to maintain.

366566937e4897f7b732b5c9b079a7b104c84b43 authored over 14 years ago by MY <[email protected]>
Stylistic changes. Fixed spacings, some line length fixes, removed some extraneous comments.

758d8aca9a6c9db802dca289bd3842302b0085e2 authored over 14 years ago by MY <[email protected]>
Moved API fields to within model. We don't really need to check these I don't think, we could just pass it off to the API to check... But in the meantime they're probably better here than as top level constants.

a90a0eb2919238a2ccc56475ab3b6e7771594bbd authored over 14 years ago by MY <[email protected]>
Cleaned up Reddit() class namespace. Request, urlopen and cookie_jar moved to internal attrs.

c4c75964c06cfbc613d8b8663fba0f85b99791cb authored over 14 years ago by MY <[email protected]>
Another typo fix.

207625a5596527a1b47ab2af58a7eea94fb5a4c3 authored over 14 years ago by MY <[email protected]>
Leave it to me to forget to fix possible recursion problems with the __repr__. Now raises NotImplementedError if the subclass doesn't define __str__ (which needs to be defined in order to know what to use for the second position). Alternatively we could just return an empty string, but this is probably nicer.

3d69342545b0d0d0f07bf85a6fb99d01248292ba authored over 14 years ago by MY <[email protected]>
_get_about_attributes are perfect candidates for __getattr__.

474bca97b2b26c991bf24a98fb3a9a8a7331aee4 authored over 14 years ago by MY <[email protected]>
Did same for 'is None' (last commit was for 'is not None').

2d3c5f7b391a35ef6edd3798cc1bb380c0bc215c authored over 14 years ago by MY <[email protected]>
Fixed all of the condition checks that were looking for .

3ddc0a1803e8dd7b532476ea71450a1948abe4a9 authored over 14 years ago by MY <[email protected]>
Added RedditObject base class, so far with only __repr__ method for subclasses. Changed __repr__'s on subclasses to __str__.

5331fa4d7a07c71f04b45d651f10878ef1d19f4d authored over 14 years ago by MY <[email protected]>
Finished the functionality of the sleep_after decorator (which might use a rename). Instead of sleeping after every call (which I assume was temporary), it should just wait after anything called within the REDDIT_API_WAIT_TIME from the last call now. This breaks functionality though, since the lambdas are blowing up. Fix coming.

7317b8d8311a8134531ce1a26be5475230de71d9 authored over 14 years ago by MY <[email protected]>
APIException added to be used for module exceptions (for proper exception catching).

bde383bdab68605ceb960510b8bfdbbe937a49ea authored over 14 years ago by MY <[email protected]>
.gitignore

f4edf77665ac1b5ee88ee2ba2690f469eeca6424 authored over 14 years ago by MY <[email protected]>
updated README with some more examples, made minor changes to reddit.py

f2b066dbd0fd1ccb01cf874c37302259cebc475e authored over 14 years ago by mellort <[email protected]>
errors were introduced by subclassing from object, so removing that change. also, fixed variable name in Subreddit class: name to display_name

a7c6ade5ece172252621b45aec2edb96e8d7c809 authored over 14 years ago by mellort <[email protected]>
stupid mistake: changed Object to object

1cf1c5eb92d2fa90e713805b15d3e3df1c2e2691 authored over 14 years ago by mellort <[email protected]>
small change; switched to 'new-style' classes

dd198989c6e3531afd5364ee5f6a55ebcd151786 authored over 14 years ago by mellort <[email protected]>
small fix; think this should allow memoized calls to skip the api sleep()

e1bd6013a674cf1be0dfc6c2ca8caa9c1f63c7e5 authored over 14 years ago by mellort <[email protected]>
added caching, cleaned up some of the decorators

a66c1a090d17204dd0c1c768262ead02f246827d authored over 14 years ago by mellort <[email protected]>
changed user agent

11d40f1e06b4aad30d8231fedd0c39366f7255d8 authored over 14 years ago by mellort <[email protected]>
accidentally deleted CHAR_LIMIT in cleaning up, re-added it

4616a2bc23aba9cccb5182ba2499b3d030e6c0dc authored over 14 years ago by mellort <[email protected]>
small fix to readme

3ea60941fa2335436b89ebca919c1edbaa365a3c authored over 14 years ago by mellort <[email protected]>
small typo

be05894de80053cbe7075e35a6a0de9b42304487 authored over 14 years ago by mellort <[email protected]>
final readme for release

dd83f729defe412e3eb424cb8315cffb8dae6370 authored over 14 years ago by mellort <[email protected]>
finalized readme

d6b5de7bef2f881328062f69bedede7a8aafae2f authored over 14 years ago by mellort <[email protected]>
updated readme with example applications

33770e3e8b1b3b95ca62cfed674dd7e40ac78d71 authored over 14 years ago by mellort <[email protected]>
cleaned up code, added 'questions' to readme

6acc44402a329c1d3f64e7e9a9cb14f9f20420c1 authored over 14 years ago by mellort <[email protected]>
more readme updates

72655837c7b63b3b4f2084e83b7063a1985ad7c0 authored over 14 years ago by mellort <[email protected]>
more markdown fixes

8ba8b301d5c25ac93f631ad33d85e5a4504f5ef1 authored over 14 years ago by mellort <[email protected]>
fixed README markdown syntax

8c69e14d10fef5a2aa570b9dc123682d1878b448 authored over 14 years ago by mellort <[email protected]>
fixed markdown syntax

1f141a10ff23fdc7bf550d2cbd9d86cefd3ade97 authored over 14 years ago by mellort <[email protected]>
polished up code and added README

5b0221f1753d686f581d00bc803133d10657bd79 authored over 14 years ago by mellort <[email protected]>
commented a ton, and added a decorator for requiring login

cfc162ed9e39a706267b060ee638fbecf0bace19 authored over 14 years ago by mellort <[email protected]>
cleaned up co

a4a7d3eddc95bd0dad6c084ad479d15df52ef292 authored over 14 years ago by mellort <[email protected]>
fixed issue with place_holder in get_content

d1575b32651e3105b3b6e3c4a4e2060fe2be4651 authored over 14 years ago by mellort <[email protected]>
ugh, still not very good at git; fixed merge issues

3863746e97769a31ff13e2276ce6ac335156cdcc authored over 14 years ago by mellort <[email protected]>
Merge branch 'master' of github.com:mellort/reddit_api

Conflicts:
reddit.py

57255275573a77d8c03022deac0ed8efd6e0b000 authored over 14 years ago by mellort <[email protected]>
made local changes

7c769fe930a617320f0edcb44bd93bfc599c6093 authored over 14 years ago by mellort <[email protected]>
keeping track of features

be4885cc1f23aab9646799c79cd4e4015487e4a8 authored over 14 years ago by Timothy Mellor <[email protected]>
have comment replies working

10dd50acd096e241944a33e1144b242ca15c8b10 authored over 14 years ago by Timothy Mellor <[email protected]>
added voting

40d9841e23a02b2f041a7ce3e563ecb5704bbc08 authored over 14 years ago by Timothy Mellor <[email protected]>
cleaned up some code

06b73c7dbf8e148b0448168fba0de8b58c58106e authored over 14 years ago by Timothy Mellor <[email protected]>
allowed for dynamic intepretation of content type for instantiating classes

aac311fc373908bfe963c97f88cd35051f51d8a2 authored over 14 years ago by mellort <[email protected]>
fixed some minor bugs, also added get_my_reddits()

ea4d8cad0fe76ebf3213309f502baf91aa8546fa authored over 14 years ago by Timothy Mellor <[email protected]>
fixed save/unsave

ad8adfef39834534b064fdbe4179cfdbf3ff3934 authored over 14 years ago by Timothy Mellor <[email protected]>
added save (can't figure out unsave), subscribe and unsub methods

c8f9d2054f0e294bb9e96974bde47b3d373a0daa authored over 14 years ago by Timothy Mellor <[email protected]>
got voting to work! added a method to fetch the users modhash

786c8e816f2d847f71f07bc3bcf90b6f90ce2b92 authored over 14 years ago by Timothy Mellor <[email protected]>
first commit. experimenting with logon and vote, not working yet.

efef08a4a713fcfd7dfddf992097cf89426586ae authored over 14 years ago by mellort <[email protected]>