{"id":23731071,"url":"https://github.com/boutzi/pygo-score","last_synced_at":"2026-01-06T11:36:41.078Z","repository":{"id":257241442,"uuid":"857706600","full_name":"Boutzi/pygo-score","owner":"Boutzi","description":"The PyGo Score API allows you to manage a leaderboard system where players' scores can be added, updated, and retrieved. This API is built with Flask and works with a MongoDB storage system for player data.","archived":false,"fork":false,"pushed_at":"2024-09-15T20:06:15.000Z","size":33,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-31T03:16:30.092Z","etag":null,"topics":["api-rest","flask","game-jam","python"],"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/Boutzi.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":"2024-09-15T11:50:06.000Z","updated_at":"2024-12-19T10:40:56.000Z","dependencies_parsed_at":"2024-09-15T13:46:22.011Z","dependency_job_id":null,"html_url":"https://github.com/Boutzi/pygo-score","commit_stats":null,"previous_names":["boutzi/pygo-score"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boutzi%2Fpygo-score","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boutzi%2Fpygo-score/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boutzi%2Fpygo-score/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boutzi%2Fpygo-score/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Boutzi","download_url":"https://codeload.github.com/Boutzi/pygo-score/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239846520,"owners_count":19706784,"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-rest","flask","game-jam","python"],"created_at":"2024-12-31T03:16:36.249Z","updated_at":"2026-01-06T11:36:41.010Z","avatar_url":"https://github.com/Boutzi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flask API: PyGo Score\n\nThe PyGo Score API allows you to manage a leaderboard system where players' scores can be added, updated, and retrieved. This API is built with Flask and works with a MongoDB storage system for player data.\n\n# Installation:\nFirst, install Python.\nThen open the console, navigate to the folder of your choice, and clone this repository:\n\n```\ngit clone https://github.com/Boutzi/pygo-score.git\n```\nNavigate to the repo folder and create a new virtual environment:\n```\npython -m venv env\n```\nNext, activate it.\nFor Windows:\n```\nenv\\scripts\\activate.bat\n```\nFor Linux:\n```\nsource env/bin/activate\n```\nNow, install the required packages:\n```\npip install -r requirements.txt\n```\nFinally, you can run the script:\n```\npython main.py\n```\nThe API will be available at ```http://127.0.0.1:5000```\n\n# API Endpoints\nYou can check the [Swagger Documentation](http://127.0.0.1:5000/) locally, when the server is running.\n\n# MongoDB Config:\nTo use MongoDB with this API, follow these steps:\n\nCreate a ```.env``` File: Create a ```.env``` file in the project root directory. This file should contain the following environment variables:\n\n```\nATLAS_URI=your_mongodb_connection_string\nDB_NAME=your_database_name\nCOLLECTION_NAME=your_collection_name\n```\nReplace your_mongodb_connection_string, your_database_name, and your_collection_name with your actual MongoDB connection string, database name, and collection name.\n\n### You can also deploy to Cloud Platforms: If you are deploying the API to cloud platforms like Heroku, AWS, or similar, set these environment variables in your cloud provider's configuration settings.\n\nBy following these steps, you can configure the API to work with MongoDB and ensure that it is correctly set up for both local development and cloud deployment.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboutzi%2Fpygo-score","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboutzi%2Fpygo-score","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboutzi%2Fpygo-score/lists"}