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 = IFClient()
There are three ways to use the Infinite Flight Connected API V2, GetState, SetState, RunCommand.
###GetState
get_state_by_name(name)
###SetState
set_state_by_name(name, value)
###RunCommand
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.1.tar.gz
(7.9 kB
view hashes)
Built Distribution
Close
Hashes for ifcclient-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13e639bb8c200356a5cb6edf91166a6df7308b3f5af72916e783f4b56630011a |
|
MD5 | cc8b04c136c81e2ea132db2269f5d00c |
|
BLAKE2b-256 | 4c3843755fe99e95b9cced855fd7ad971e010b61b9c18850d966998e1b706453 |