{"id":21610776,"url":"https://github.com/liebki/rawgnet","last_synced_at":"2025-04-15T18:20:14.389Z","repository":{"id":56850395,"uuid":"466201340","full_name":"liebki/RawgNET","owner":"liebki","description":"Simple .NET wrapper to get all games and more things using rawg.io's API!","archived":false,"fork":false,"pushed_at":"2024-05-03T14:13:58.000Z","size":112,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T03:15:46.609Z","etag":null,"topics":["csharp-library","dotnetcore","rawg-api","rawg-database-api","rawgapi","wrapper"],"latest_commit_sha":null,"homepage":"https://www.nuget.org/packages/RawgNET","language":"C#","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/liebki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2022-03-04T16:51:09.000Z","updated_at":"2024-05-03T14:14:01.000Z","dependencies_parsed_at":"2024-04-17T08:42:39.846Z","dependency_job_id":"2b01a2ba-6cbb-4501-84b5-964fbbe03759","html_url":"https://github.com/liebki/RawgNET","commit_stats":{"total_commits":17,"total_committers":1,"mean_commits":17.0,"dds":0.0,"last_synced_commit":"d810ca4359427d5aea19303664fce7607149afa3"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liebki%2FRawgNET","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liebki%2FRawgNET/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liebki%2FRawgNET/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liebki%2FRawgNET/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liebki","download_url":"https://codeload.github.com/liebki/RawgNET/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249126114,"owners_count":21216727,"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":["csharp-library","dotnetcore","rawg-api","rawg-database-api","rawgapi","wrapper"],"created_at":"2024-11-24T21:09:35.955Z","updated_at":"2025-04-15T18:20:14.367Z","avatar_url":"https://github.com/liebki.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RawgNET\nA wrapper for the API of rawg.io, to get a game or creator including all their data.\n\n\u003cimg src=\"https://www.startuplithuania.com/wp-content/uploads/2018/10/Rawg-promo-cover.png\" width=\"800\"\u003e\n\n## Technologies\n\n### Created using\n- .NET Core 6.0\n\n### NuGet/Dependencies used\n- Newtonsoft.Json\n\n### Projects/People (I know of) using it:\n- [GitHub Repository](https://github.com/sgamesdev)\n\n## Features\n\n### Nuget\n- [NuGet Package](https://www.nuget.org/packages/RawgNET)\n\n### General\n- Through methods, like `GetGame()` and `IsGameExisting()`, you can check if a game exists or get the data of it.\n- Through methods, like `GetCreators()`, `GetCreator()`, and `IsCreatorExisting()`, you can check if a creator exists or get the data of them.\n\n## Usage\n\n## Example (see the \"RawgNetDemo\" project)\n\n```csharp\nRawgClient client = new(new ClientOptions(\"YOUR KEY FROM https://rawg.io/apidocs\"));\nconst string query = \"overwatch\";\n\nif (await client.IsGameExisting(query))\n{\n    Console.WriteLine($\"Querying the input '{query}'\");\n\n    // Fetch detailed information about the game\n    Game game = await client.GetGame(query, true, true);\n\n    Console.WriteLine($\"Game Name: {game.NameOriginal}\");\n    Console.WriteLine($\"Rating: {game.Rating}\");\n    Console.WriteLine($\"Background Image: {game.BackgroundImage}\");\n    Console.WriteLine($\"Metacritic Score: {game.Metacritic}\");\n    Console.WriteLine($\"Release Date: {game.Released}\");\n    Console.WriteLine($\"Platforms: {string.Join(\", \", game.Platforms.Select(p =\u003e p.Platform.Name))}\");\n\n    if (game.AreScreenshotsAvailable)\n    {\n        Console.WriteLine($\"First Screenshot: {game.Screenshots.First().Image}\");\n    }\n\n    if (game.AreAchievementsAvailable)\n    {\n        Console.WriteLine($\"First Achievement: {game.Achievements.First().Name}\");\n    }\n}\nelse\n{\n    Console.WriteLine(\"Game does not exist!\");\n}\n```\n\n## FAQ\n\n#### Where do I get an API-Key?\n\nAt https://rawg.io/apidocs, just press the \"Get API Key\" button.\n\n#### What do I have to be aware of?\n\nRawg.io has terms of use, please read them and be sure to comply to them - https://api.rawg.io/docs/\n\n## License\n\n**Software:** RawgNET\n\n**License:** GNU General Public License v3.0\n\n**Licensor:** Kim Mario Liebl\n\n[GNU](https://choosealicense.com/licenses/gpl-3.0/)\n\n## Roadmap\n\n- Get everything from the API inside RawgNet (WIP)\n- Clean up and reduce code\n- More to come…\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliebki%2Frawgnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliebki%2Frawgnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliebki%2Frawgnet/lists"}