Skip to main content

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)

Uploaded Source

Built Distribution

ifcclient-0.0.2-py3-none-any.whl (8.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page