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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file IFConnectOld-1.0.4.tar.gz.
File metadata
- Download URL: IFConnectOld-1.0.4.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a299edac1efea6e8d55b0f7107e10bcad775f7231f6a0a7e0bb16091496b5215
|
|
| MD5 |
57246bdb7ca2119cdf27c986bdb48d69
|
|
| BLAKE2b-256 |
acb5426f601057ba963eff31242c2f3e660e1ecb6228accddd7f4395b41b29f3
|
File details
Details for the file IFConnectOld-1.0.4-py3-none-any.whl.
File metadata
- Download URL: IFConnectOld-1.0.4-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb2bfe9fd9ad9f01796f9bef6c50031625e81c67a6fd24585ddbbc8b942aae2b
|
|
| MD5 |
0a90d73736e5bfabcf57258409bcd2ff
|
|
| BLAKE2b-256 |
b814a8616296847b45917bb5e14f0dab0ad359f248f2dc2bd067fdcc1100f8d8
|