{"id":16002848,"url":"https://github.com/soreing/go-wordle-api","last_synced_at":"2026-05-09T14:02:59.025Z","repository":{"id":110409773,"uuid":"499154194","full_name":"Soreing/go-wordle-api","owner":"Soreing","description":"A small demo of an API written in Go for playing wordle games","archived":false,"fork":false,"pushed_at":"2022-06-02T14:48:19.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T09:43:50.263Z","etag":null,"topics":["api","api-rest","gin","gin-gonic","go","golang","postgres","postgresql","postgresql-database","wordle"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Soreing.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-06-02T13:49:31.000Z","updated_at":"2022-06-02T14:51:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"dbd1188e-c42b-4391-8389-bd5ae5e2c8e0","html_url":"https://github.com/Soreing/go-wordle-api","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/Soreing%2Fgo-wordle-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Soreing%2Fgo-wordle-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Soreing%2Fgo-wordle-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Soreing%2Fgo-wordle-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Soreing","download_url":"https://codeload.github.com/Soreing/go-wordle-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247274114,"owners_count":20912052,"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","api-rest","gin","gin-gonic","go","golang","postgres","postgresql","postgresql-database","wordle"],"created_at":"2024-10-08T10:04:32.320Z","updated_at":"2026-05-09T14:02:58.967Z","avatar_url":"https://github.com/Soreing.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Demo Go Wordle API\nA small project demonstrating APIs written in Go. The project contains an API with different routes to play wordle, and a game manager process that generates new games every 2 hours.\n\nAPI is live at: __gowordle.soreing.site__\n\n## How to Use\n### Getting the Current game\nTo play the game, you need to get an ID for the current game. Along with the ID, you are given a unix timestamp in milliseconds for the expiry date of the game. [Click To Try!](https://gowordle.soreing.site/game/current)\n```\nGET /game/current\n```\n```\nOutput:\n{\"Id\":40,\"ExpiresAt\":1654184444241}\n```\n### Creating a Player\nBefore you can make guesses, you need a player. You can create a player without any required data.\n```\nPOST /player\n```\n```\nOutput:\n7F11FBEE6AE9DABA\n```\n### Making a Guess\nOnce you have a Game Id, a Player and a Word in mind, you can make a guess. The inputs must be sent as x-www-form-urlencoded field by field. If the game is already solved, or all guesses are used, a 400 status is returned with a message.\n```\nPOST /guess\nGameId=40\u0026Player=7F11FBEE6AE9DABA\u0026Word=crane\n```\n```\nOutput:\nOk (200)\n```\n### Get Game Status\nWith a game Id and a player code, you can get your game state with colored letters as follows. Guesses come as an array of strings where each string contains pairs of characters, the capital being the letter and the lower case is the color. [Click To Try!](https://gowordle.soreing.site/game/40/7F11FBEE6AE9DABA)\n```\nGET /game/:GameId/:PlayerCode\n```\n```\nOutput:\n{\n    \"Solved\": false,\n    \"GuessCount\": 2,\n    \"Guesses\": [\n        \"bC bR bA bN bE \",\n        \"bL yU bN bG gS \"\n    ]\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoreing%2Fgo-wordle-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoreing%2Fgo-wordle-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoreing%2Fgo-wordle-api/lists"}