Created
October 21, 2013 19:16
-
-
Save SpencerCooley/7089308 to your computer and use it in GitHub Desktop.
example of soap api for sports data api.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SOAPpy | |
url = "http://footballpool.dataaccess.eu/data/info.wso" | |
server = SOAPpy.SOAPProxy(url, 'http://footballpool.dataaccess.eu') | |
print server.Cities() | |
Output: | |
<SOAPpy.Types.structType CitiesResult at 4534171768>: {'string': ['Charkov', 'Donetsk', 'Gdansk', 'Kiev', 'Lviv', 'Poznan', 'Warschau', 'Wroclaw']} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment