{"id":29543949,"url":"https://github.com/tinodo/obsclient","last_synced_at":"2025-07-17T14:09:18.260Z","repository":{"id":64390224,"uuid":"575309203","full_name":"tinodo/obsclient","owner":"tinodo","description":"A Complete .NET Client for OBS Studio 28 and up.","archived":false,"fork":false,"pushed_at":"2024-05-22T19:15:20.000Z","size":447,"stargazers_count":20,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-28T05:05:15.390Z","etag":null,"topics":["obs","obs-studio","obs-websocket","websocket","websockets"],"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/tinodo.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}},"created_at":"2022-12-07T08:12:51.000Z","updated_at":"2025-03-15T13:44:57.000Z","dependencies_parsed_at":"2023-02-13T23:16:27.501Z","dependency_job_id":"8aca9152-420c-449b-9833-2be3a1af531e","html_url":"https://github.com/tinodo/obsclient","commit_stats":{"total_commits":46,"total_committers":2,"mean_commits":23.0,"dds":"0.26086956521739135","last_synced_commit":"82dedf913185fe67512033aaf01c320697eff5d1"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/tinodo/obsclient","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinodo%2Fobsclient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinodo%2Fobsclient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinodo%2Fobsclient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinodo%2Fobsclient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinodo","download_url":"https://codeload.github.com/tinodo/obsclient/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinodo%2Fobsclient/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265614372,"owners_count":23798431,"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":["obs","obs-studio","obs-websocket","websocket","websockets"],"created_at":"2025-07-17T14:09:16.281Z","updated_at":"2025-07-17T14:09:18.253Z","avatar_url":"https://github.com/tinodo.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ObsClient\nA Complete cross platform .NET WebSocket Client for OBS Studio version 28 and up.  \nCurrently implementing: [**obs-websocket 5.3.0 Protocol**](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md)\nOur intent is to create a \u003cins\u003ecomplete\u003c/ins\u003e and \u003cins\u003eeasy to use\u003c/ins\u003e client for OBS Studio.\n\n## Installation\nInstall from the [NuGet Gallery](https://www.nuget.org/packages/OBSClient)   \nOr through the NuGet CLI: `NuGet\\Install-Package OBSClient -Version 2.1.1`  \nFrom the command line: `dotnet add package OBSClient --version 2.1.1`  \n\n## Sample usage\n\n### Simple\n\n```\nObsClient client = new();\nbool isConnected = await client.ConnectAsync();\nif (isConnected)\n{\n    await client.SetCurrentProgramScene(\"Gaming Scene\");\n    Monitor[] monitors = await client.GetMonitorList();\n    client.Disconnect();\n}\nclient.Dispose();\n```\n\n### Request Batch\n\n```\nObsClient client = new();\nbool isConnected = await client.ConnectAsync(true, \"P@ssw0rd\", \"localhost\", 4455, EventSubscriptions.Filters | EventSubscriptions.Scenes);\nif (isConnected)\n{\n    RequestBatchMessage batchRequest = new();\n    batchRequest.AddToggleVirtualCamRequest();\n    batchRequest.AddSetStudioModeEnabledRequest(true);\n    batchRequest.AddSleepRequest(5000, null);\n    batchRequest.AddToggleVirtualCamRequest();\n    batchRequest.AddSetStudioModeEnabledRequest(false);\n    var result = await _client.SendRequestBatchAsync(batchRequest, 6000);\n    client.Disconnect();\n}\nclient.Dispose();\n```\n\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=tinodo_obsclient\u0026metric=alert_status)](https://sonarcloud.io/summary/new_code?id=tinodo_obsclient)\n![Build](https://github.com/tinodo/obsclient/actions/workflows/build.yml/badge.svg?branch=main)\n[![NuGet](https://img.shields.io/nuget/v/obsclient.svg?style=flat)](https://www.nuget.org/packages/obsclient)  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinodo%2Fobsclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinodo%2Fobsclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinodo%2Fobsclient/lists"}