{"id":30671912,"url":"https://github.com/danthedaniel/psraw","last_synced_at":"2025-10-09T13:03:58.623Z","repository":{"id":57455339,"uuid":"83613778","full_name":"danthedaniel/psraw","owner":"danthedaniel","description":"pushshift reddit API wrapper","archived":false,"fork":false,"pushed_at":"2017-12-26T19:48:37.000Z","size":533,"stargazers_count":9,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-20T21:55:33.762Z","etag":null,"topics":["praw","pushshift","reddit"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danthedaniel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-01T23:55:15.000Z","updated_at":"2022-06-26T11:55:09.000Z","dependencies_parsed_at":"2022-08-26T06:01:10.347Z","dependency_job_id":null,"html_url":"https://github.com/danthedaniel/psraw","commit_stats":null,"previous_names":["teaearlgraycold/psraw"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/danthedaniel/psraw","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danthedaniel%2Fpsraw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danthedaniel%2Fpsraw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danthedaniel%2Fpsraw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danthedaniel%2Fpsraw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danthedaniel","download_url":"https://codeload.github.com/danthedaniel/psraw/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danthedaniel%2Fpsraw/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001535,"owners_count":26083102,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["praw","pushshift","reddit"],"created_at":"2025-09-01T04:46:07.417Z","updated_at":"2025-10-09T13:03:58.588Z","avatar_url":"https://github.com/danthedaniel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"PSRAW\n===\n\n[![PyPI version](https://badge.fury.io/py/psraw.svg)](https://badge.fury.io/py/psraw) [![Coverage Status](https://coveralls.io/repos/github/teaearlgraycold/psraw/badge.svg?branch=master)](https://coveralls.io/github/teaearlgraycold/psraw?branch=master) [![Build Status](https://travis-ci.org/teaearlgraycold/psraw.svg?branch=master)](https://travis-ci.org/teaearlgraycold/psraw) [![Code Health](https://landscape.io/github/teaearlgraycold/psraw/master/landscape.svg?style=flat)](https://landscape.io/github/teaearlgraycold/psraw/master)\n\npushshift reddit API wrapper\n\n### Installation\n\npsraw requires the installation of the `praw` package, so make sure\nyou have that installed first.\n\n```bash\npip install psraw\n```\n\n*Both Python 2.7 and Python 3.X are supported*\n\n### Usage\n\nEach function in the library is a generator. This allows you to set an extremely\nhigh limit parameter without the need to call the functions multiple times. To\nget a normal Python list, just wrap the function with the `list()` constructor.\n\n```python\nimport psraw\nimport praw\n\nr = praw.Reddit(...)\n\n# Get a list from the API\nresults = list(psraw.comment_search(r, q='teaearlgraycold', limit=30))\n\n# Or use the function as a generator\nfor comment in psraw.comment_search(r, q='teaearlgraycold', limit=3000):\n    # Do something with the comment\n```\n\n### Available functions\n\n[Official Documentation](https://docs.google.com/document/d/171VdjT-QKJi6ul9xYJ4kmiHeC7t_3G31Ce8eozKp3VQ/edit) *out of date*\n\nIn the example function signatures below, `r` is a `praw.Reddit` session object.\n**All other arguments must be passed as keyword arguments.**\n\nEach function will return either a list of `praw.models.Comment` objects or\n`praw.models.Submission` objects.\n\n```python\npsraw.comment_search(r, q='', subreddit='', limit=0, sort='asc', after=0, before=0)\n```\n\n```python\npsraw.submission_search(r, q='', subreddit='', limit=0, sort='asc', after=0)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanthedaniel%2Fpsraw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanthedaniel%2Fpsraw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanthedaniel%2Fpsraw/lists"}