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.2.tar.gz (18.6 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.2-py3-none-any.whl (23.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fseconomy_python-0.1.2.tar.gz
  • Upload date:
  • Size: 18.6 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.2.tar.gz
Algorithm Hash digest
SHA256 f0db92046eac4e72fbd7513fd998773850b4cb0e0e3a77d6c3e74f6204268bce
MD5 901074767ea7321274577cfbbd36f9bf
BLAKE2b-256 e7fb8e1ed9e1a0f9ed322ef2ec74d599889f9d8d069af62941251d20067776b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fseconomy_python-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5dbea19f78093a394e3153d5c15fb33a1d83c728d74281675409b2d93125f150
MD5 9e0d4b3f4686bbf669d266ff50ccd80d
BLAKE2b-256 0b25f1a81456402ff9f99f63c9ce58f9009797d8ad4f532e9e310f4c320bee7d

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