Skip to content

Instantly share code, notes, and snippets.

@SpencerCooley
Created October 21, 2013 19:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SpencerCooley/7089308 to your computer and use it in GitHub Desktop.
Save SpencerCooley/7089308 to your computer and use it in GitHub Desktop.
example of soap api for sports data api.
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