fedex

Parsing HTML does not output desired data(tracking info for FedEx)

梦想的初衷 提交于 2021-02-07 09:00:34
问题 Im trying to make a script that grabs tracking information from fedex website. I figured that f i just go to the url 'https://www.fedex.com/fedextrack/?tracknumbers=' and paste the tracking number at the end of it, it brings me to the tracking page which has the information i need. I tried to feed the URL the tracking number and parse the html from the response. This is what I tried. import urllib url_prefix= 'https://www.fedex.com/fedextrack/?tracknumbers=' tracking_number = '570573906561'

Parsing HTML does not output desired data(tracking info for FedEx)

别等时光非礼了梦想. 提交于 2021-02-07 09:00:23
问题 Im trying to make a script that grabs tracking information from fedex website. I figured that f i just go to the url 'https://www.fedex.com/fedextrack/?tracknumbers=' and paste the tracking number at the end of it, it brings me to the tracking page which has the information i need. I tried to feed the URL the tracking number and parse the html from the response. This is what I tried. import urllib url_prefix= 'https://www.fedex.com/fedextrack/?tracknumbers=' tracking_number = '570573906561'

FedEx Tracking API Response: 404

╄→尐↘猪︶ㄣ 提交于 2021-01-29 11:03:19
问题 Here is the situation. I have a Rest API Tracking setup trying to get the status of the FedEx package. Here is my code: $url = 'https://apis-sandbox.fedex.com/track/v1/123456789012'; $api = new App_ApiTransaction('POST', $url, '', App_ApiTransaction::ENCODE_JSON); $api->addHeader( 'Authorization', 'Bearer '.$accessToken->accessToken); $api->addHeader( 'X-locale', 'en_US'); $api->addHeader( 'Content-Type', 'application/json'); Why would I be getting a 404 response code? Thank you, Kevin 来源:

Cannot send non-SOAP rate request to FedEx

陌路散爱 提交于 2021-01-07 06:59:24
问题 Trying to send non-SOAP rate request to FedEx. The following XML works with SOAP Env and Body when I send their SOAP endpoint. It says in the documentation that they offer an XML-only solution, and that is formatted exactly the same as the SOAP request. Sending to https://wsbeta.fedex.com:443/xml. Please let me know if anyone has any insight. <RateRequest> <WebAuthenticationDetail> <UserCredential> <Key>omitted</Key> <Password>omitted</Password> </UserCredential> </WebAuthenticationDetail>

Cannot send non-SOAP rate request to FedEx

杀马特。学长 韩版系。学妹 提交于 2021-01-07 06:58:08
问题 Trying to send non-SOAP rate request to FedEx. The following XML works with SOAP Env and Body when I send their SOAP endpoint. It says in the documentation that they offer an XML-only solution, and that is formatted exactly the same as the SOAP request. Sending to https://wsbeta.fedex.com:443/xml. Please let me know if anyone has any insight. <RateRequest> <WebAuthenticationDetail> <UserCredential> <Key>omitted</Key> <Password>omitted</Password> </UserCredential> </WebAuthenticationDetail>

Debugging Web Services in Visual Studio

北城余情 提交于 2020-01-14 06:50:33
问题 I am trying to use sample FedEx Web Service code written in VB.NET to retrieve shipping rates. The call returned rate information, but it returned rates that are way too high and do not match those shown on their web site for the same shipping parameters. Their support team is willing to investigate the discrepancy if I can provide them the XML data, SOAP transaction I presume, but I do not know how to get at this. Can someone help? 回答1: I have used Fiddler in the past for monitoring http

Send data to thermal printer [duplicate]

孤街浪徒 提交于 2020-01-11 10:41:18
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: .NET code to send ZPL to Zebra printers My company has a Eltron 2543 thermal printer. I'm developing an VB.NET application incorporating FedEx web services to print off shipping labels. I can save off the data file without a problem, but I was wondering how I send this data stream to a shared printer on a network. Do I need to include the Eltron 2543 driver in my solution? Sort of lost here and would love if

Regular Expression patterns for Tracking numbers

余生颓废 提交于 2019-12-29 02:32:49
问题 Does anybody know good place or patterns for checking which company tracking number is the given tracking number for a package. Idea is After scanning a barcode for a package check tracking number with patterns and show which company it was shipped by. 回答1: Just thought I would post an update on this as I am working on this to match via jquery and automatically select the appropriate shipping carrier. I compiled a list of the matching regex for my project and I have tested a lot of tracking

php fedex set signature Label ADULT

╄→гoц情女王★ 提交于 2019-12-25 06:39:22
问题 I am working on wordpress site and using woocommerce extension http://www.woothemes.com/products/fedex-shipping-module/ I am Passing the values Signature value to adults. But it is not working Please correct me where i am wrong $request['RequestedShipment']['RateRequestTypes'] = $this->request_type; $request['RequestedShipment']['PackageDetail'] = 'INDIVIDUAL_PACKAGES'; $request['RequestedShipment']['SpecialServicesRequested'][] = array( 'SpecialServiceTypes' => 'SIGNATURE_OPTION',

How to develop a custom shipping module for a new carrier in Netsuite?

爷,独闯天下 提交于 2019-12-23 04:43:33
问题 I'm interested in developing a custom plugin for a new carrier. I see Netsuite offers UPS, FedEx, USPS, Endecia, etc. I found this page on Netsuite (http://www.netsuite.com/portal/developers/dev-resources.shtml) but it's not very clear how a developer like me can go about developing this. Does Netsuite even let outside developers create their own shipping modules? I'm interested in developing my own tax module as well one day. 回答1: One possible solution (Assuming the shipping provider has the