{"id":13662078,"url":"https://github.com/kongregate/kongregate-web","last_synced_at":"2025-04-12T05:28:08.195Z","repository":{"id":80875114,"uuid":"179749307","full_name":"kongregate/kongregate-web","owner":"kongregate","description":"Bindings to the Kongregate JavaScript API for Unity: https://kongregate.github.io/kongregate-web/","archived":false,"fork":false,"pushed_at":"2024-11-23T06:29:13.000Z","size":500,"stargazers_count":3,"open_issues_count":3,"forks_count":5,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-26T00:51:19.637Z","etag":null,"topics":["api","csharp","javascript","kongregate","unity","unity3d","web"],"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/kongregate.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"2019-04-05T20:22:33.000Z","updated_at":"2024-11-22T21:08:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"87dcdcb5-8ba8-4221-aca3-a1fecdab4dfe","html_url":"https://github.com/kongregate/kongregate-web","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/kongregate%2Fkongregate-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kongregate%2Fkongregate-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kongregate%2Fkongregate-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kongregate%2Fkongregate-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kongregate","download_url":"https://codeload.github.com/kongregate/kongregate-web/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248521684,"owners_count":21118132,"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","csharp","javascript","kongregate","unity","unity3d","web"],"created_at":"2024-08-02T05:01:48.557Z","updated_at":"2025-04-12T05:28:08.163Z","avatar_url":"https://github.com/kongregate.png","language":"C#","funding_links":[],"categories":["C\\#"],"sub_categories":[],"readme":"# Kongregate Web API for Unity\n\n![Build and Test](https://github.com/kongregate/kongregate-web/workflows/Build%20and%20Test/badge.svg) [![openupm](https://img.shields.io/npm/v/com.kongregate.kongregate-web?label=openupm\u0026registry_uri=https://package.openupm.com)](https://openupm.com/packages/com.kongregate.kongregate-web/) ![Unity 2019.3](https://img.shields.io/badge/Unity-2019.3-blue) ![Unity 2018.4](https://img.shields.io/badge/Unity-2018.4-blue) [![Latest docs](https://img.shields.io/badge/docs-latest-green)](https://kongregate.github.io/kongregate-web/api/)\n\nThis package provides C# bindings to the [Kongregate Web API](https://docs.kongregate.com/v1.0/reference) to be used in developing Unity games that will be published on the Kongregate website.\n\n**[Usage and API documentation](https://kongregate.github.io/kongregate-web/api/)**\n\n\n```csharp\nKongregateWeb.BecameReady += () =\u003e\n{\n    if (KongregateWeb.IsGuest)\n    {\n        Debug.Log(\"Player is a guest\");\n    }\n    else\n    {\n        Debug.Log(\"Player is logged in as \" + KongregateWeb.Username);\n    }\n};\n\nKongregateWeb.LoggedIn += () =\u003e\n{\n    Debug.Log(\"Player is logged in as \" + KongregateWeb.Username);\n};\n```\n\n## Setup and Usage\n\nTo include kongregate-web as a Unity package, you'll need to be on Unity 2018.3 or later. kongregate-web is [hosted on OpenUPM](https://openupm.com/packages/com.kongregate.kongregate-web/). Follow the [OpenUPM getting started guide](https://openupm.com/docs/getting-started.html) if you're not already using it, then run the following command from within your Unity project:\n\n```text\nopenupm add com.kongregate.kongregate-web\n```\n\n\u003e Alternate setup instructions are also available [on the docs site](https://kongregate.github.io/kongregate-web/#setup).\n\nOnce you have added the package to your project you'll also need to [setup a custom WebGL template](https://kongregate.github.io/kongregate-web/#setup-custom-webgl-template) to make the Kongregate JavaScript API available to your game.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkongregate%2Fkongregate-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkongregate%2Fkongregate-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkongregate%2Fkongregate-web/lists"}