{"id":17823178,"url":"https://github.com/jrascagneres/simconnect-go","last_synced_at":"2025-03-18T15:31:27.651Z","repository":{"id":40333947,"uuid":"315098602","full_name":"JRascagneres/Simconnect-Go","owner":"JRascagneres","description":"GoLang SimConnect Library","archived":false,"fork":false,"pushed_at":"2023-08-09T13:02:59.000Z","size":89,"stargazers_count":23,"open_issues_count":1,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-16T21:35:27.779Z","etag":null,"topics":["api","flight-simulator","fs2020","golang","microsoft-flight-simulator-2020","msfs2020","simconnect","windows"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JRascagneres.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}},"created_at":"2020-11-22T17:53:41.000Z","updated_at":"2025-01-17T08:20:46.000Z","dependencies_parsed_at":"2024-06-19T00:15:01.784Z","dependency_job_id":"e4f6dae0-ebba-4590-a7f1-1a8378a02ff4","html_url":"https://github.com/JRascagneres/Simconnect-Go","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JRascagneres%2FSimconnect-Go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JRascagneres%2FSimconnect-Go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JRascagneres%2FSimconnect-Go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JRascagneres%2FSimconnect-Go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JRascagneres","download_url":"https://codeload.github.com/JRascagneres/Simconnect-Go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244249210,"owners_count":20422925,"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","flight-simulator","fs2020","golang","microsoft-flight-simulator-2020","msfs2020","simconnect","windows"],"created_at":"2024-10-27T17:54:44.578Z","updated_at":"2025-03-18T15:31:27.214Z","avatar_url":"https://github.com/JRascagneres.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simconnect-Go [![GoDoc](https://godoc.org/github.com/JRascagneres/Simconnect-Go?status.svg)](https://godoc.org/github.com/JRascagneres/Simconnect-Go) [![GitHub tag](https://img.shields.io/github/tag/JRascagneres/Simconnect-Go.svg)](https://github.com/JRascagneres/Simconnect-Go/releases) [![license](https://img.shields.io/github/license/JRascagneres/Simconnect-Go.svg)](https://github.com/JRascagneres/Simconnect-Go/blob/master/LICENSE)\n\nThis Simconnect library is used to communicate with primary Microsoft Flight Simulator 2020 using Golang. However, given its use of the SimConnect API it should be able to communicate with other flight simulators whcih also support the SimConnect API.\n\nThis attempts to be a little more of a high-level library attempting to abstract much of the SimConnect complexity from the user.\n\n## Status\n\nThe current version is considered an early release and will therefore keep changing. Breaking changes will be avoided but may happen if required.\n\n## Currently Implemented\n\n- Request Data on User Aircraft (SimConnect_RequestDataOnSimObjectType)\n- Request Data on Object (SimConnect_RequestDataOnSimObject)\n- Load Flight Plan into Users Aircraft (SimConnect_FlightPlanLoad)\n- Create parked ATC AI aircraft (SimConnect_AICreateParkedATCAircraft)\n- Create Non ATC AI aircraft SimConnect_AICreateNonATCAircraft()\n- Set Data on Object including user (SimConnect_SetDataOnSimObject)\n- Create enroute ATC Aircraft (SimConnect_AICreateEnrouteATCAircraft)\n- Set Flight Plan for AI ATC Aircraft (SimConnect_AISetAircraftFlightPlan)\n- Remove Objects (SimConnect_AIRemoveObject)\n\n## Install\n\n`go get -u github.com/JRascagneres/Simconnect-Go`\nand import with\n`import (simconnect \"github.com/JRascagneres/Simconnect-Go\")`\n\n## Very Simple Usage\nVery simple example which starts the connection, grabs the current user data and closes the connection.\n```\npackage main\n\nimport (\n\t\"fmt\"\n\n\tsimconnect \"github.com/JRascagneres/Simconnect-Go\"\n)\n\nfunc main() {\n\tinstance, err := simconnect.NewSimConnect(\"Simconnect-Go\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\treport, err := instance.GetReport()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"User Altitude: %f\\n\", report.Altitude)\n\n\tif err := instance.Close(); err != nil {\n\t\tpanic(err)\n\t}\n}\n```\n\n## Documentation\n\nAll Documentation can be found through the [godoc](https://godoc.org/github.com/JRascagneres/Simconnect-Go)\n\n## Contributing\n\nIssues, feature requests or improvements welcome!\n\n## License\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrascagneres%2Fsimconnect-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjrascagneres%2Fsimconnect-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrascagneres%2Fsimconnect-go/lists"}