Skip to main content

aviasales pirate API wrapper

Async convenient wrapper for the unofficial aviasales API

Installation

pip install aviasales

Example of usage

from aviasales import AviaSalesAPI

api = AviaSalesAPI()


async def run():
    search_uuid = await api.start(
        origin="DME", destination="IST", departure_at="2022-05-30"
    )
    results = await api.get_flight_legs(search_uuid)

    print(results.flight_legs)  # show flight transfers and routes
    print(results.tickets)      # show available tickets


if __name__ == '__main__':
    import asyncio
    asyncio.run(run())

Terminal output

Terminal output

Metadata

Release files for aviasales 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aviasales 0.0.5
File Size Uploaded Provenance
aviasales-0.0.5.tar.gz 4.0 kB Without provenance Details

Release files / aviasales-0.0.5.tar.gz

Download URL aviasales-0.0.5.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
98c00b6d46095e09c15a1d82204a68db1fc76bae4f1097581bb54bec7a458a13
BLAKE2b-256 checksum
How to use checksums
ad100afb266fb4fb72571062d5449041a7a63086653d52cf49ccc3f219784e40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Security for aviasales 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.5 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page