Skip to main content

Libreria para conseguir cotizaciones sobre envio de paquetes con la API de shipengine (FedEx)

Project description

Libreria para conseguir cotizaciones sobre envio de paquetes con la API de shipengine (FedEx)

from fedexrates.rates import Rate

quote_params = {
    "address_from": {
        "zip": "64000",
        "country": "MX"
    },
    "address_to": {
        "zip": "64000",
        "country": "MX"
    },
    "parcel": {
        "length": 25.0,
        "width": 28.0,
        "height": 46.0,
        "distance_unit": "cm",
        "weight": 6.5,
        "mass_unit": "kg"
    }
}
credentials = "TEST_DR6z1zWA0vFKnL+Znjk3FpRlLBEKGpKDg7N/yF7AShY"
rate = Rate(quote_params=quote_params, credentials=credentials)

print(rate.get_rate())

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

fedexrates-0.10.tar.gz (2.9 kB view details)

Uploaded Source

File details

Details for the file fedexrates-0.10.tar.gz.

File metadata

  • Download URL: fedexrates-0.10.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for fedexrates-0.10.tar.gz
Algorithm Hash digest
SHA256 c714322bd25942ffb2917b10a3ee3282c632a5eb34283d634462b2ab3859ef7d
MD5 74ff8c65f2551210a168268cfabeb7ca
BLAKE2b-256 54ac644fc478ac8925972774473184f64153f521fe592f891da1f805a275d466

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