{"id":32391333,"url":"https://github.com/making3/exreddit","last_synced_at":"2025-10-25T04:56:21.488Z","repository":{"id":54706251,"uuid":"105404816","full_name":"making3/exreddit","owner":"making3","description":"Reddit API Wrapper in Elixir","archived":false,"fork":false,"pushed_at":"2022-11-10T22:50:44.000Z","size":31,"stargazers_count":2,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-08-01T17:33:24.478Z","etag":null,"topics":["elixir","elixir-lang","reddit","reddit-api-wrapper"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/making3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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-30T22:27:08.000Z","updated_at":"2023-08-01T17:33:24.479Z","dependencies_parsed_at":"2022-08-14T00:40:15.503Z","dependency_job_id":null,"html_url":"https://github.com/making3/exreddit","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/making3/exreddit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/making3%2Fexreddit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/making3%2Fexreddit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/making3%2Fexreddit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/making3%2Fexreddit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/making3","download_url":"https://codeload.github.com/making3/exreddit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/making3%2Fexreddit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280906421,"owners_count":26411413,"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-25T02:00:06.499Z","response_time":81,"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":["elixir","elixir-lang","reddit","reddit-api-wrapper"],"created_at":"2025-10-25T04:53:38.197Z","updated_at":"2025-10-25T04:56:21.481Z","avatar_url":"https://github.com/making3.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ExReddit\n\nExreddit is a Reddit API Wrapper.\n\n## Example\n\n    token = ExReddit.OAuth.get_token()\n    subreddit = \"learnprogramming\"\n    options = [limit:1]\n\n    {:ok, threads} = ExReddit.Api.get_new_threads(token, subreddit, options)\n\n## Installation\n\nAdd the following to Hex:\n\n```elixir\ndef application do\n  [\n    applications: [:exreddit]\n  ]\nend\n\ndef deps do\n  [\n    {:exreddit, git: \"https://github.com/making3/exreddit.git\", branch: \"master\"}\n  ]\nend\n```\n\n### Configuration\n\n    config :exreddit,\n      username: System.get_env(\"REDDIT_USER\"),\n      password: System.get_env(\"REDDIT_PASS\"),\n      client_id: System.get_env(\"REDDIT_CLIENT_ID\"),\n      secret: System.get_env(\"REDDIT_SECRET\"),\n      api_rate_limit_delay: 1000      # In milliseconds\n\n\nIt is recommended to create the following environment variables for configuring your user:\n\n- `REDDIT_USER`\n- `REDDIT_PASS`\n- `REDDIT_CLIENT_ID`\n- `REDDIT_SECRET`\n\n## Usage\n\n    token = ExReddit.OAuth.get_token()\n    subreddit = \"learnprogramming\"\n    options = [limit:1]\n\n    {:ok, threads} = ExReddit.Api.get_new_threads(token, subreddit, options)\n\n## Development\n\n### Tests\n\nUse mix test to run tests. Application variables need to be setup in order to run api tests.\n\n    mix test\n    mix test --exclude reddit_api   # Exclude api tests\n    mix test --only subreddit       # Only subreddit tests\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaking3%2Fexreddit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaking3%2Fexreddit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaking3%2Fexreddit/lists"}