Giter VIP home page Giter VIP logo

fedex's Introduction

FedEx API for Python


The Idea
========

The bad news is that your organization probably doesn't care that FedEx's API
is bundled via big SOAP-based web services (a.k.a. "IBM made me do it"). The
good news is that, because I'm in the same boat, I care.

The result is a thin layer of services that ease the configuration and calling
of FedEx web services along with example test cases.

Since this API depends on "Suds", naming conventions around operations are
dictated by the backing WSDL, and won't feel Pythonic.  It's left as an
exercise for the consumer to hide any syntatical weirdness by extending this API
as desired.


The Installation
================

Simple with pip

$ pip install fedex.py

Easy with setuptools (but use pip):

$ easy_install fedex.py


The Interface
=============

The fedex.services.FedexService class is a convenience wrapper around FedEx
address, rate, shipment, and tracking services. The API layout essentially
associates one service per WSDL. You could easily add additional services
(i.e. PackageMovement, Pickup, ReturnTag, etc.) using the same approach by
extending fedex.services.commons.BaseService. The root FedexService methods
are:

get_addresses
    Get a list of validated shipping addresses.

get_rates
    Get available rates for a given shipment.

get_shipment
    Process a shipment.

get_tracking
    Get tracking information for a given package ID.

remove_shipment
    Cancel a processed shipment.

fedex's People

Contributors

jzempel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.