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.0.tar.gz (17.3 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.0-py3-none-any.whl (23.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fseconomy_python-0.1.0.tar.gz
  • Upload date:
  • Size: 17.3 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.0.tar.gz
Algorithm Hash digest
SHA256 18d5e674320a2a2a3f97ba76be146d545372bf67abc4453ea5debfee71076438
MD5 9c909a9e486e6f265c82df67f03758c3
BLAKE2b-256 400a0013c3c8a510cc289bd852835fb9401ca1d3f7e6d7186057cc526e451f36

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fseconomy_python-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 23f2b0657efd3ee6d8bd37a5e257d8235dee6e17da58f755e11f74be2ea6c6c6
MD5 2cd3df87fe34affa7a8cb8c503ea4207
BLAKE2b-256 d76b80b3d149c7c60034809d84e008f452a3a782cf2b3d31d6a2c76759cb0d61

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