{"id":23273097,"url":"https://github.com/zhaytam/psawsharp","last_synced_at":"2025-04-06T10:23:15.691Z","repository":{"id":114360340,"uuid":"160064498","full_name":"zHaytam/PsawSharp","owner":"zHaytam","description":"A wrapper of the Pushshift reddit API.","archived":false,"fork":false,"pushed_at":"2019-02-28T14:31:10.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T15:53:13.284Z","etag":null,"topics":["api-wrapper","csharp","psaw","pushshift","reddit"],"latest_commit_sha":null,"homepage":"","language":"C#","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/zHaytam.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-02T16:03:05.000Z","updated_at":"2019-02-28T14:31:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"f8733add-c62f-4318-a5e9-b7ef67283100","html_url":"https://github.com/zHaytam/PsawSharp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zHaytam%2FPsawSharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zHaytam%2FPsawSharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zHaytam%2FPsawSharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zHaytam%2FPsawSharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zHaytam","download_url":"https://codeload.github.com/zHaytam/PsawSharp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247465472,"owners_count":20943181,"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-wrapper","csharp","psaw","pushshift","reddit"],"created_at":"2024-12-19T19:32:32.308Z","updated_at":"2025-04-06T10:23:15.683Z","avatar_url":"https://github.com/zHaytam.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PsawSharp\n\nPsawCharp is a simple wrapper around [Pushshift's API](https://pushshift.io/api-parameters/) that supports rate limits and proxies.\n\n## Example:\n\nFrom the Tests project:\n\n```csharp\nvar client = new PsawClient(new RequestsManagerOptions\n{\n    ProxyAddress = \"178.217.194.175:49850\"\n});\n\nvar meta = await client.GetMeta();\nAssert.Equal(\"178.217.194.175\", meta.SourceIp);\nAssert.Equal(\"PL\", meta.ClientRequestHeaders.CfIpCountry);\n```\n\n```csharp\nvar client = new PsawClient();\nvar submmissions = await client.Search\u003cSubmissionEntry\u003e(new SearchOptions\n{\n    Subreddit = \"game\",\n    Size = 1\n});\n\nAssert.Single(submmissions);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhaytam%2Fpsawsharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhaytam%2Fpsawsharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhaytam%2Fpsawsharp/lists"}