Skip to main content

Python Bindings for FSEconomy

Project description

FSEconomy Python Bindings

This package provides Python bindings for various FSEconomy APIs.

Documentation Status

Important Links

Usage

Initialization

In order to use any of FSEconomy's APIs, you will need to initialize the corresponding API keys:

import fseconomy

fseconomy.set_access_key('0123456789ABCDEF')
fseconomy.set_service_key('0123456789ABCDEF')
fseconomy.set_user_key('0123456789ABCDEF')

Please refer to the corresponding section of the FSEconomy Operations Guide for an explanation of the different keys and their purpose.

FSEconomy Data Feeds

Retrieve data from FSEconomy's data feed API. For most feeds, you must set a valid key first.

import fseconomy
import fseconomy.data

fseconomy.set_access_key('0123456789ABCDEF')
fseconomy.set_service_key('0123456789ABCDEF')
fseconomy.set_user_key('0123456789ABCDEF')

data_feed = fseconomy.data.aircraft_configs()
print(data_feed.status) # HTTP response status code
print(data_feed.data)   # parsed into native python data types
print(data_feed.binary) # true if raw data is binary data
print(data_feed.raw)    # raw data as received from the server

A comprehensive list of all data feeds can be found in the official documentation

FSEconomy REST API

FSEconomy Auth API

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

fseconomy_python-0.1.1.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fseconomy_python-0.1.1-py3-none-any.whl (23.8 kB view details)

Uploaded Python 3

File details

Details for the file fseconomy_python-0.1.1.tar.gz.

File metadata

  • Download URL: fseconomy_python-0.1.1.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for fseconomy_python-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c4c342f9b4fe8edf36d2446c7fb6bffde579b0b841dbf3cc424dbe0212ff2b7f
MD5 ef7dd1ceacf8e5b3d1c8bded3427f6d4
BLAKE2b-256 6d0daec865263baff5d16bfe160e4963f1aa8e045a90aea14ecea85a2bd18527

See more details on using hashes here.

File details

Details for the file fseconomy_python-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for fseconomy_python-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1274b8c342dc23ffe66deaf8c08da9f9bc66eef5e1b6c96f43139b5ad0393643
MD5 43055ffce0309a7fe5a45d9cc19e7444
BLAKE2b-256 5cd3889944ab0b90cf6cb63b2af7228cf97308011a3230263e255d498fe466a7

See more details on using hashes here.

Supported by

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