jzempel / fedex Goto Github PK
View Code? Open in Web Editor NEWFedEx API for Python
License: Other
FedEx API for Python
License: Other
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.
Can we get the tracking number from a reference number with this library ? or is possible to get a list of all my packages that are not delivered ?
Thanks in advance
HI Jonathan,
I want to use your API for integrating fedex with OpenERP. I was looking in tests.py and want to know what would be the "CONFIGURATION" variable value which is passed to different functions.
One more advice. As I want this API to integrate in OpenERP, will this work out. I am thinking of passing all different values to the functions in the API. I mean any suggestions while actually doing integration for successful implementation.
Very much thanks in advance.
I am using ship serviceV17 when I try to generate return label for fedex ground dims and cad is getting populated on the label but actWt and ship date is missing
Hi Jonathan,
I am testing with the API, and it seems its working.
But I am getting error "Authentication Failed" because (may be) I am testing it with a test account.
How do I use the API with test account?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.