https://github.com/islandcontroller/hoppie-connector
Python connector for Hoppie's ACARS service
https://github.com/islandcontroller/hoppie-connector
acars hoppie python vatsim
Last synced: about 1 year ago
JSON representation
Python connector for Hoppie's ACARS service
- Host: GitHub
- URL: https://github.com/islandcontroller/hoppie-connector
- Owner: islandcontroller
- License: mit
- Created: 2024-03-10T15:09:47.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-27T20:00:11.000Z (almost 2 years ago)
- Last Synced: 2025-04-08T09:08:38.727Z (about 1 year ago)
- Topics: acars, hoppie, python, vatsim
- Language: Python
- Homepage: https://pypi.org/project/hoppie-connector
- Size: 120 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hoppie-connector
[](LICENSE) 
The *hoppie-connector* project is an API implementation for Jeroen Hoppenbrouwers' "*Hoppie's ACARS*" services for online multiplayer flight simulation. It can be used to create custom flight tracking and dispatch systems, or serve as a basis for airborne station implementations!
## Installation
A pre-built package is hosted on [PyPI](https://pypi.org/project/hoppie-connector/) and can be installed and updated using the [`pip`](https://pip.pypa.io/en/stable/getting-started/) utility:
```sh
pip install -U hoppie-connector
```
## Usage Example
```python
from hoppie_connector import HoppieConnector, HoppieError
cnx = HoppieConnector('', '')
try:
# Send a telex message
cnx.send_telex('', '')
# Fetch and print incoming messages
messages, delay = cnx.peek()
for m_id, msg in messages:
print(f"Message {m_id}: {msg}")
except HoppieError as e:
print(e)
```
> [!NOTE]
> In order to minimize unnecessary server load, keep the idle polling rate to at most **once every 60 seconds**. During active communication, the polling rate may be temporarily increased to once every 20 seconds.[^1]
## Documentation
A more comprehensive documentation is currently in development on this project's [GitHub Wiki](https://github.com/islandcontroller/hoppie-connector/wiki).
## Acknowledgements
Great thanks to Jeroen Hoppenbrouwers for creating and maintaining the "*Hoppie's ACARS*" services.
## Licensing
The contents of this repository are licensed under the MIT License. The full license text is provided in the [`LICENSE`](LICENSE) file.
SPDX-License-Identifier: MIT
[^1]: ["ACARS Server API"](https://www.hoppie.nl/acars/system/tech.html). *www.hoppie.nl*. Retrieved April 3, 2024.