{"id":13718444,"url":"https://github.com/WichardRiezebos/devrant","last_synced_at":"2025-05-07T10:32:07.634Z","repository":{"id":144187909,"uuid":"81013264","full_name":"WichardRiezebos/devrant","owner":"WichardRiezebos","description":"Unofficial csharp-client for the public devRant API.","archived":false,"fork":false,"pushed_at":"2017-02-05T20:02:50.000Z","size":59,"stargazers_count":5,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-01T14:40:41.588Z","etag":null,"topics":["api","client","csharp","devrant","fml","public","unofficial"],"latest_commit_sha":null,"homepage":"http://devrant.io","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WichardRiezebos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-02-05T18:39:02.000Z","updated_at":"2022-10-05T23:58:06.000Z","dependencies_parsed_at":"2023-04-21T17:19:05.472Z","dependency_job_id":null,"html_url":"https://github.com/WichardRiezebos/devrant","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WichardRiezebos%2Fdevrant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WichardRiezebos%2Fdevrant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WichardRiezebos%2Fdevrant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WichardRiezebos%2Fdevrant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WichardRiezebos","download_url":"https://codeload.github.com/WichardRiezebos/devrant/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224585552,"owners_count":17335876,"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","client","csharp","devrant","fml","public","unofficial"],"created_at":"2024-08-03T01:00:27.606Z","updated_at":"2024-11-14T07:31:19.063Z","avatar_url":"https://github.com/WichardRiezebos.png","language":"C#","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# DevRant\n[![Build status](https://ci.appveyor.com/api/projects/status/mecpjf5cwqpdgd67?svg=true)](https://ci.appveyor.com/project/WichardRiezebos/devrant) [![NuGet](https://buildstats.info/nuget/DevRant)](https://www.nuget.org/packages/DevRant/) [![Join the chat at https://gitter.im/devrant-csharp/Lobby](https://badges.gitter.im/devrant-csharp/Lobby.svg)](https://gitter.im/devrant-csharp/Lobby?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nUnofficial **csharp-client** for the *public* [devRant](https://www.devrant.io/) API. \n*Based on: [danillouz/devrant](https://github.com/danillouz/devrant)*\n\n![Cartoon 2](https://www.devrant.io/static/devrant/img/cartoon2.png)\n\n## Prerequisites\n\n- .NET Framework 4.5\n\n## Installation\n\nInstall the NuGet package using the command below:\n\n```\nInstall-Package DevRant\n```\n\n...or search for `DevRant` in the NuGet index.\n\n## Getting started\nThe code below is an example how to use the library.\n\n```\nusing DevRant;\nusing DevRant.Dtos;\n....\nusing(var devRant = new DevRantClient())\n{\n    var profile = await devRant.GetProfileAsync(\"WichardRiezebos\");\n\tvar topTenRants = await devRant.GetRantsAsync(sort: RantSort.Top, limit: 10);\n}\n```\n\n## Methods\nAll the available rest-api method(s) are described below:\n\n| API | METHOD |  DESCRIPTION |\n| --- | --- | --- | \n| [/api/user/{id}/](https://devrant.io/api/users/404181?app=3) | [GetProfileAsync](#getprofileasync) | Gets the complete profile of a devRant user. |\n| [/api/devrant/rants/](https://devrant.io/api/devrant/rants?app=3\u0026sort=algo\u0026limit=50\u0026skip=0) | [GetRantsAsync](#getrantsasync) | Gets a collection with rants. |\n\n### GetProfileAsync\n\n###### Arguments\n| NAME | MANDATORY |  TYPE |\n| --- | --- | --- |  \n| username |  yes | string | \n\n### GetRantsAsync\n\n###### Arguments\n| NAME | MANDATORY |  TYPE | DEFAULT |\n| --- | --- | --- | --- |\n| sort |  no | enum (algo, recent and top) | algo |\n| limit |  no | int | 50 |\n| skip |  no | int | 0 |\n\n## Limitations\n\n- Not all methods are available yet. \n- Explicit use of `Task Async`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWichardRiezebos%2Fdevrant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FWichardRiezebos%2Fdevrant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWichardRiezebos%2Fdevrant/lists"}