Free Web Services - Herong's Tutorial Examples - v2.13, by Herong Yang
Installing Python Engine on macOS
This section provides a tutorial example on installing latest version of Python engine on a macOS computer.
Before doing any tests with Python, I want to upgrade the Python engine to the latest version on my macOS system.
1. Go to Python download Website at https://www.python.org/downloads/.
2. Click "Download Python 3.8.0" button. And save the download file.
3. Double-click on the download file "python-3.8.0-macosx10.9.pkg" and follow installation instructions to finish the installation.
4. Go to the Launchpad. You see 2 new applications: Python IDLE and Python Launcher.
There are a number of ways to use the newer version of Python:
Note that the newer version of Python did not replace the older version. So you have two versions of Python on your macOS located at different directories.
Python 2.7 Version - This is the older version pre-installed in the macOS system. You can access Python 2.7 with the "python" command:
herong$ python --version Python 2.7.10 herong$ which python /usr/bin/python
Python 3.8 Version - This is the newer version installed by you. You can access Python 3.8 with the "python3" command:
herong$ python3 --version Python 3.8.0 herong$ which python3 /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 herong$ ls -l /usr/local/bin/python3 ... /usr/local/bin/python3 -> \ ../../../Library/Frameworks/Python.framework/Versions/3.8/bin/python3
Table of Contents
►Installing Python Engine on macOS
Parsing WSDL Documents with Zeep Library
Invoking WSDL Services with Zeep Library
Dump SOAP Request and Response Messages
WSDL 2.0 Not Supported by Zeep Library
SoapUI - Web Service Testing Tool
Mock Web Services - herongyang.com/Service
"SoapResponder" and Web Service Test Tool
"Calculator" for 4 Integer Operations
DataFlex Web Service for Country Information
LatLonListCityNames - Return Latitudes and Longitudes of US Cities
LatLonListZipCode - Return Latitudes and Longitudes of US Zip Code
TempConvert Web Service for Temperature Conversion
NDFDgenByDay - US Weather Forecast by Day
NDFDgen - US-Weather Forecast for a Single Location
Bitcoin Blockchain Data API (or Explorer)
flickr.interestingness.getList - Get Interesting Photos
NumberToWords - Convert Number in Digits to Words
TitleCaseWordsWithToken - Words to Title Case Format
"PUG SOAP" Web Service for PubChem Database
Discontinued: Currency Converter by kowabunga.net
Discontinued: GetCountries - Get All Countries and Territories
Discontinued: GetCurrencies - Get Currencies from All Countries
Discontinued: GetGMTbyCountry - Get GMT Information of a Given Country
Discontinued: GetISD - Get ISD Phone Code of a Given Country
Discontinued: GetCitiesByCountry - Get Cities by Country
Discontinued: GetInfoByState - Get ZIP Codes of a Given US State
Discontinued: GetAirportInformationByCountry - Get Airport Code by Country
Discontinued: GetGeoIP - Get Country by IP Address
Discontinued: ConvertTemp - Convert Temperature Unit
Discontinued: ChangeLengthUnit - Convert Length Unit
Discontinued: ConvertWeight - Convert Weight Unit
Discontinued: ChangeAreaUnit - Convert Area Unit
Discontinued: Code39 - Generate Bar Code Images in Code 39 Format
Discontinued: GenerateBarCode - Generate Bar Code Images
Discontinued: GetMortgagePayment - Calculate Mortgage Payment
Discontinued: ConversionRate - Get Currency Exchange Rate
Discontinued: GetQuote - Get Stock Quote
Discontinued: GetSunSetRiseTime - Get Sunrise and Sunset Time
Discontinued: GetWeatherByZipCode - Get Weather by ZIP Code in US
Discontinued: getTime - Get the Current Time
Discontinued: questionSearch - Search Yahoo! Questions and Answers