{"id":16824366,"url":"https://github.com/sambhav/pykarma","last_synced_at":"2025-10-30T10:14:24.822Z","repository":{"id":62581195,"uuid":"102226239","full_name":"sambhav/pykarma","owner":"sambhav","description":"A python API wrapper for Karma Decay","archived":false,"fork":false,"pushed_at":"2018-09-23T12:55:19.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-26T22:48:23.131Z","etag":null,"topics":["api","decay","karma","python","reddit","wrapper"],"latest_commit_sha":null,"homepage":"https://pypi.python.org/pypi/pykarma","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sambhav.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-09-02T22:10:39.000Z","updated_at":"2018-09-23T12:55:21.000Z","dependencies_parsed_at":"2022-11-03T22:01:15.544Z","dependency_job_id":null,"html_url":"https://github.com/sambhav/pykarma","commit_stats":null,"previous_names":["samj1912/pykarma"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sambhav/pykarma","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambhav%2Fpykarma","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambhav%2Fpykarma/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambhav%2Fpykarma/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambhav%2Fpykarma/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sambhav","download_url":"https://codeload.github.com/sambhav/pykarma/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambhav%2Fpykarma/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261766613,"owners_count":23206657,"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","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":["api","decay","karma","python","reddit","wrapper"],"created_at":"2024-10-13T11:10:51.312Z","updated_at":"2025-10-30T10:14:19.767Z","avatar_url":"https://github.com/sambhav.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pykarma\r\nUnofficial Python API wrapper for [karmadecay.com](http://karmadecay.com)\r\n\r\n## Usage\r\n```python\r\nfrom pykarma import find\r\n\r\n# Fetch only the submission URLs of the matches\r\nresults = find(\"http://i.imgur.com/OOFRJvr.gifv\")\r\nfor result in results:\r\n    print(result)\r\n\r\n# Fetch matches within a specific subreddit\r\nresults = find(\"http://i.imgur.com/OOFRJvr.gifv\", subreddit=\"example\")\r\nfor result in results:\r\n    print(result)\r\n\r\n# Fetch matches within multiple subreddits\r\nresults = find(\"http://i.imgur.com/OOFRJvr.gifv\", subreddit=[\"example\", \"bottesting\"])\r\nfor result in resultS:\r\n    print(result)\r\n\r\n# Fetch complete details about the matches\r\nresults = find(\"http://i.imgur.com/OOFRJvr.gifv\", fetch_praw=True)\r\nfor result in results:\r\n    print(result.url)\r\n    print(result.score)\r\n\r\n```\r\nYou can also combine `fetch_praw` and `subreddit` to get submission objects on a specific subreddit\r\n\r\nThe API returns a [PRAW Submission Object](http://praw.readthedocs.io/en/latest/code_overview/models/submission.html).\r\nRead the [PRAW documentation](http://praw.readthedocs.io/en/latest/code_overview/praw_models.html) to learn how to use it. \r\n\r\n## Installation\r\n\r\n* From pip:\r\n\r\n        pip install pykarma\r\n\r\n* From source:\r\n        \r\n        git clone https://github.com/samj1912/pykarma\r\n        python setup.py install\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsambhav%2Fpykarma","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsambhav%2Fpykarma","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsambhav%2Fpykarma/lists"}