{"id":21096218,"url":"https://github.com/dannevesdantas/webapi2construct","last_synced_at":"2025-12-29T09:11:53.005Z","repository":{"id":24294678,"uuid":"27689821","full_name":"dannevesdantas/WebAPI2Construct","owner":"dannevesdantas","description":"WebAPI2Construct simplifies the integration of ASP.NET Web API with Construct game engine by Scirra","archived":false,"fork":false,"pushed_at":"2023-01-08T06:32:12.000Z","size":8799,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-08T09:37:50.084Z","etag":null,"topics":["construct2","construct3"],"latest_commit_sha":null,"homepage":"https://www.construct.net/en/tutorials/using-ajax-object-asp-net-web-832","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/dannevesdantas.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}},"created_at":"2014-12-08T00:01:21.000Z","updated_at":"2023-01-08T06:32:16.000Z","dependencies_parsed_at":"2023-01-14T00:43:51.551Z","dependency_job_id":null,"html_url":"https://github.com/dannevesdantas/WebAPI2Construct","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannevesdantas%2FWebAPI2Construct","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannevesdantas%2FWebAPI2Construct/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannevesdantas%2FWebAPI2Construct/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannevesdantas%2FWebAPI2Construct/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dannevesdantas","download_url":"https://codeload.github.com/dannevesdantas/WebAPI2Construct/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243538099,"owners_count":20307104,"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":["construct2","construct3"],"created_at":"2024-11-19T22:34:17.485Z","updated_at":"2025-12-29T09:11:52.977Z","avatar_url":"https://github.com/dannevesdantas.png","language":"C#","readme":"# WebAPI2Construct\n\nWebAPI2Construct simplifies the integration of [ASP.NET Web API](http://www.asp.net/web-api) with [Construct game engine by Scirra](https://www.construct.net/)\n\n## What can it be used for?\nIf you are developing a game with Construct game engine and want to save, load, delete or update game's data from a server and/or a database you can use Microsoft ASP.NET WEB API with WebAPI2Construct to format the game's data in a format that Construct can understand when sending it from the ASP.NET server to the game.\n\n## How to Use\n\nUse `Construct2Convert.ToDictionary()` method to convert any C# object to a Construct Dictionary formatted object.\n\n```csharp\n[Route(\"player/data\")]\n[HttpGet]\npublic async Task\u003cActionResult\u003cobject\u003e\u003e GetPlayerData()\n{\n    // An example object with the data to be sent to the game\n    PlayerData playerData = new PlayerData();\n    playerData.PlayerName = \"John\";\n    playerData.HiScore = 999;\n\n    // Use WebAPI2Construct to transform your data in a Construct readable format\n    var playerDataJSONDictionary = Construct2Convert.ToDictionary(playerData);\n\n    return Ok(playerDataJSONDictionary); // Send the data to the game\n}\n```\n\n## Tutorial\nVisit Using AJAX object with ASP.NET Web API tutorial at [https://www.construct.net/en/tutorials/using-ajax-object-asp-net-web-832](https://www.construct.net/en/tutorials/using-ajax-object-asp-net-web-832)\n\n## Get it on NuGet\n    \n    Install-Package WebAPI2Construct\n\n## LICENSE\n[Apache 2.0 License](https://github.com/dannevesdantas/WebAPI2Construct/blob/master/LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdannevesdantas%2Fwebapi2construct","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdannevesdantas%2Fwebapi2construct","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdannevesdantas%2Fwebapi2construct/lists"}