{"id":23774680,"url":"https://github.com/anviaan/mc-telemetry","last_synced_at":"2026-02-13T21:36:51.057Z","repository":{"id":270143712,"uuid":"909345600","full_name":"anviaan/mc-telemetry","owner":"anviaan","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-30T03:35:27.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-19T20:53:04.847Z","etag":null,"topics":["flask","flask-api","flask-sqlalchemy","python","python-3","sqlite","telemetry","telemetry-server"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anviaan.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-12-28T12:30:45.000Z","updated_at":"2025-03-30T03:35:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"8f984f92-7294-404b-9c8e-0e07e789b4fb","html_url":"https://github.com/anviaan/mc-telemetry","commit_stats":null,"previous_names":["anviaan/mc-telemetry"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anviaan/mc-telemetry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anviaan%2Fmc-telemetry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anviaan%2Fmc-telemetry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anviaan%2Fmc-telemetry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anviaan%2Fmc-telemetry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anviaan","download_url":"https://codeload.github.com/anviaan/mc-telemetry/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anviaan%2Fmc-telemetry/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29418645,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["flask","flask-api","flask-sqlalchemy","python","python-3","sqlite","telemetry","telemetry-server"],"created_at":"2025-01-01T06:16:25.091Z","updated_at":"2026-02-13T21:36:51.024Z","avatar_url":"https://github.com/anviaan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telemetry API\n\n## Description\n\nThis project is a Flask-based API for managing telemetry data of game mods. It allows you to create mods, receive\ntelemetry data, and retrieve statistics about mod and game version usage.\n\n## Installation\n\n1. Clone the repository:\n    ```sh\n    git clone \u003crepository-url\u003e\n    cd \u003crepository-directory\u003e\n    ```\n\n2. Create a virtual environment and activate it:\n    ```sh\n    python -m venv venv\n    source venv/bin/activate  # On Windows use `venv\\Scripts\\activate`\n    ```\n\n3. Install the required packages:\n    ```sh\n    pip install -r requirements.txt\n    ```\n\n4. Create a `.env` file and set the `PASSWORD` environment variable:\n    ```sh\n    echo \"PASSWORD=your_password\" \u003e .env\n    ```\n\n5. Run the application:\n    ```sh\n    python app.py\n    ```\n\n## Usage\n\nThe API provides the following endpoints:\n\n### Check API Status\n\n- **URL:** `/telemetry/health`\n- **Method:** `GET`\n\n### Get All Mods\n\n- **URL:** `/telemetry/mods`\n- **Method:** `GET`\n\n### Create a Mod\n\n- **URL:** `/telemetry/mods`\n- **Method:** `POST`\n- **Body:**\n    ```json\n    {\n        \"password\": \"your_password\",\n        \"mod_id\": \"mod123\",\n        \"mod_name\": \"Example Mod\"\n    }\n    ```\n- **Response:**\n    ```json\n    {\n        \"message\": \"Mod created successfully\"\n    }\n    ```\n\n### Receive Telemetry Data\n\n- **URL:** `/telemetry/data`\n- **Method:** `POST`\n- **Body:**\n    ```json\n    {\n        \"mod_id\": \"mod123\",\n        \"game_version\": \"1.0\",\n        \"mod_version\": \"1.0\",\n        \"loader\": \"Forge\"\n    }\n    ```\n- **Response:**\n    ```json\n    {\n        \"message\": \"Data saved successfully\"\n    }\n    ```\n\n### Export Telemetry Data to CSV\n\n- **URL:** `/telemetry/export/csv`\n- **Method:** `GET`\n- **Query Parameters:** `password`\n- **Response:** CSV file download\n\n## License\n\nThis project is licensed under the GPL-3.0 License. See the [LICENSE](LICENSE) file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanviaan%2Fmc-telemetry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanviaan%2Fmc-telemetry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanviaan%2Fmc-telemetry/lists"}