{"id":20736868,"url":"https://github.com/opengsq/opengsq-dotnet","last_synced_at":"2025-04-24T01:41:56.531Z","repository":{"id":142663345,"uuid":"373608860","full_name":"opengsq/opengsq-dotnet","owner":"opengsq","description":".NET library designed for querying game servers. It supports 23 different query protocols and has been downloaded over 2,300 times.","archived":false,"fork":false,"pushed_at":"2025-02-19T11:17:09.000Z","size":774,"stargazers_count":8,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T05:04:55.247Z","etag":null,"topics":["ase","csharp","doom3","eos","fivem","game","game-server-query","gamespy","minecraft","opengsq","quake","server-query","source","teamspeak3","unreal2"],"latest_commit_sha":null,"homepage":"https://dotnet.opengsq.com/","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/opengsq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":"BattlefieldDuck"}},"created_at":"2021-06-03T18:44:33.000Z","updated_at":"2025-02-19T05:17:21.000Z","dependencies_parsed_at":"2024-01-16T13:59:55.756Z","dependency_job_id":"ce0442f6-8da9-4130-a957-bb3372caaa0b","html_url":"https://github.com/opengsq/opengsq-dotnet","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opengsq%2Fopengsq-dotnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opengsq%2Fopengsq-dotnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opengsq%2Fopengsq-dotnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opengsq%2Fopengsq-dotnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opengsq","download_url":"https://codeload.github.com/opengsq/opengsq-dotnet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250545659,"owners_count":21448247,"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":["ase","csharp","doom3","eos","fivem","game","game-server-query","gamespy","minecraft","opengsq","quake","server-query","source","teamspeak3","unreal2"],"created_at":"2024-11-17T06:12:10.815Z","updated_at":"2025-04-24T01:41:56.508Z","avatar_url":"https://github.com/opengsq.png","language":"C#","funding_links":["https://github.com/sponsors/BattlefieldDuck"],"categories":[],"sub_categories":[],"readme":"# OpenGSQ .NET Library\n\n[![Dotnet Package](https://github.com/opengsq/opengsq-dotnet/actions/workflows/dotnet-package.yml/badge.svg)](https://github.com/opengsq/opengsq-dotnet/actions/workflows/dotnet-package.yml)\n[![GitHub license](https://img.shields.io/github/license/opengsq/opengsq-dotnet)](https://github.com/opengsq/opengsq-dotnet/blob/main/LICENSE)\n[![NuGet Version](https://img.shields.io/nuget/v/OpenGSQ.svg?style=flat)](https://www.nuget.org/packages/OpenGSQ/)\n![NuGet Downloads](https://img.shields.io/nuget/dt/OpenGSQ)\n\nThe OpenGSQ .NET library provides a convenient way to query servers from applications written in the C# language.\n\n## Documentation\n\nDetailed documentation is available at [https://dotnet.opengsq.com](https://dotnet.opengsq.com).\n\n## Supported Protocols\n\nA list of supported protocols can be found at [https://dotnet.opengsq.com/api/OpenGSQ.Protocols.html](https://dotnet.opengsq.com/api/OpenGSQ.Protocols.html).\n\n## Prerequisities\n\nThe library requires a minimum of .NET Standard 2.0.\n\nYou can find a list of all supported frameworks at [Supported Frameworks](https://www.nuget.org/packages/OpenGSQ/#supportedframeworks-body-tab).\n\n## Installation\n\nYou can find the package through the NuGet Package Manager or install it using the following command:\n\n```sh\ndotnet add package OpenGSQ\n```\n\n## Usage\n\nHere is an example of how to use the Source Query Protocol with OpenGSQ\n\n```cs\nusing System;\nusing System.Threading.Tasks;\nusing OpenGSQ.Protocols;\n\nclass Program\n{\n    static async Task Main()\n    {\n        // Create a new Source object\n        var source = new Source(\"45.62.160.71\", 27015);\n\n        // Call the GetInfo method\n        var info = await source.GetInfo();\n\n        // Now you can use the 'info' object\n    }\n}\n```\n\n## Tests and Results\n\nYou can find information about tests and results at [https://dotnet.opengsq.com/tests](https://dotnet.opengsq.com/tests/OpenGSQ.Protocols.Tests/OpenGSQ.Protocols.Tests.html).\n\n## Stargazers over time\n\n[![Stargazers over time](https://starchart.cc/opengsq/opengsq-dotnet.svg?variant=adaptive)](https://starchart.cc/opengsq/opengsq-dotnet)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopengsq%2Fopengsq-dotnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopengsq%2Fopengsq-dotnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopengsq%2Fopengsq-dotnet/lists"}