Using python to connect the Infinite Flight Connect API v2.
Project description
Infinite Flight Connect API Client
Using python to connect the Infinite Flight Connect API v1/v2.
Installation
pip3 install ifcclient
Usage
Before getting started, make sure to enable the Infinite Flight Coneect in the app Settings > General > Enable Infinite Flight Connect
First, import the module in Python and init the object.
import ifcclient
ifc = ifcclient.IFClient()
There are three ways to use the Infinite Flight Connected API V2, GetState, SetState, RunCommand.
###GetState
ifc.get_state_by_name(name)
###SetState
ifc.set_state_by_name(name, value)
###RunCommand
ifc.run_command_by_name(command)
Future updates
- To support Connect API v1
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
ifcclient-0.0.2.tar.gz
(7.9 kB
view hashes)
Built Distribution
Close
Hashes for ifcclient-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a90eeab7343abad01ec6ca7f58ed46e37d79081c86f5c1e2723e3a2e23b00ea2 |
|
MD5 | de95dd5a79cb58db9ed83679b50b24b5 |
|
BLAKE2b-256 | 841e86541190119e75a81c65140db50cbbf9ff0fd9c4e6e862b384e3ecd57632 |