Skip to content

A module using python to connect to the Infinite Flight Connect API v1

License

Notifications You must be signed in to change notification settings

flyme2bluemoon/InfiniteFlightConnect-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Infinite Flight Connect API

Using python to connect to the Infinite Flight Connect API v1.

Installation

pip3 install IFConnectOld

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.

from IFConnnectOld import *

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

About

A module using python to connect to the Infinite Flight Connect API v1

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages