A module using python to connect to the Infinite Flight Connect API v1
Project description
Infinite Flight Connect API
Using python to connect to the Infinite Flight Connect API v1.
Usage
Before getting started, make sure to enable the Infinite Flight command server in the app Settings > General > Enable Infinite Flight Connect
First, import the module in Python.
import IFConnectOld
Then, to send a command, use the send_command
function. The first parameter is the command, the second parameter are the parameters passed to Infinite Flight while the third parameter determines whether to wait for a response or not. Await response is false by default although it must be enabled when expecting a response.
send_command("Commands.{CommandName}", [Parameters], await_response=True)
send_command("Commands.{CommandName}", [Parameters]) # await_response is False by default
Future updates
- Update to support Connect API v2
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for IFConnectOld-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb2bfe9fd9ad9f01796f9bef6c50031625e81c67a6fd24585ddbbc8b942aae2b |
|
MD5 | 0a90d73736e5bfabcf57258409bcd2ff |
|
BLAKE2b-256 | b814a8616296847b45917bb5e14f0dab0ad359f248f2dc2bd067fdcc1100f8d8 |