{"id":21031138,"url":"https://github.com/jedi4z/minesweeper-api-lib","last_synced_at":"2026-05-20T15:38:55.950Z","repository":{"id":148160395,"uuid":"279399945","full_name":"jedi4z/minesweeper-api-lib","owner":"jedi4z","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-08T11:08:51.000Z","size":11,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-20T15:21:37.482Z","etag":null,"topics":["minesweeper","minesweeper-api-lib","minesweeper-game","python-3","python-library"],"latest_commit_sha":null,"homepage":"","language":"Python","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/jedi4z.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":"2020-07-13T20:02:02.000Z","updated_at":"2020-07-14T16:19:41.000Z","dependencies_parsed_at":"2023-05-19T08:30:20.772Z","dependency_job_id":null,"html_url":"https://github.com/jedi4z/minesweeper-api-lib","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/jedi4z%2Fminesweeper-api-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedi4z%2Fminesweeper-api-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedi4z%2Fminesweeper-api-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedi4z%2Fminesweeper-api-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jedi4z","download_url":"https://codeload.github.com/jedi4z/minesweeper-api-lib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243470918,"owners_count":20296017,"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":["minesweeper","minesweeper-api-lib","minesweeper-game","python-3","python-library"],"created_at":"2024-11-19T12:24:28.696Z","updated_at":"2025-12-28T15:57:22.864Z","avatar_url":"https://github.com/jedi4z.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Minesweeper-API-lib\nThis library allows you to interact with Minesweeper-API\n\n# Usage\nFor more examples see [`examples.py`](https://github.com/jedi4z/minesweeper-api-lib/blob/master/examples.py)\n\n```python\nfrom minesweeper_api_lib.constants import PRODUCTION_ENV_KEY\nfrom minesweeper_api_lib.gateway import MinesweeperAPILib\nfrom minesweeper_api_lib.models.game import Game\nfrom minesweeper_api_lib.models.user import User\n\n# Creating gateway object\ngateway = MinesweeperAPILib(PRODUCTION_ENV_KEY)\n\n# Getting an access token\nuser_auth = User(email='jesus.diaz@gmail.com', password='demo')\nauth_response = gateway.authenticate_user(user_auth)\naccess_token = auth_response.json()['access_token']\n\n# Creating a new Game\nnew_game = Game(number_of_rows=3, number_of_cols=3, number_of_mines=3)\ngame_response = gateway.create_game(access_token, new_game)\nprint(game_response)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjedi4z%2Fminesweeper-api-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjedi4z%2Fminesweeper-api-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjedi4z%2Fminesweeper-api-lib/lists"}