R. Tyler Ballance
64f6b2b061
Add production WSDL stubs generated with wsdl2py
...
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-04-23 15:29:52 -07:00
R. Tyler Ballance
2c745bec98
Add the production/ directory for VE production SOAP stubs
2009-04-23 15:01:17 -07:00
R. Tyler Ballance
99ac949976
Remove silly print statement
...
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-04-08 16:35:49 -07:00
Tyler Ballance
8a9e8a5694
Instead of destroying the process when we can't import, we'll just re-raise
...
Signed-off-by: Tyler Ballance <tyler@slide.com>
2009-04-07 19:21:51 -07:00
R. Tyler Ballance
d0b25719c2
Add support for "forward" geocoding, i.e. finding the lat/long and other details via the Virtual Earth API
...
Not sure how useful this is to anybody, but I suppose having lat/long is nice.
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-04-07 18:57:31 -07:00
R. Tyler Ballance
8cf41708fc
Merge branch 'master' of ssh://xdev3/nail/pg/tyler/main/bt/vendor/pyve
2009-04-07 16:55:34 -07:00
Tyler Ballance
db983dd224
Add modelines for Vim
...
Signed-off-by: Tyler Ballance <tyler@slide.com>
2009-04-07 16:22:29 -07:00
Tyler Ballance
e9f9465094
Add modelines for Vim
...
Signed-off-by: Tyler Ballance <tyler@xdev3.(none)>
2009-04-07 16:13:20 -07:00
Tyler Ballance
38025429c1
Add __init__.py so pyve can be imported as a module
2009-04-07 15:39:01 -07:00
R. Tyler Ballance
5015ad94fe
Test commit >_<
2009-04-07 15:13:20 -07:00
R. Tyler Ballance
dd1b94759f
Update the README, mostly just a token commit to test something
...
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-04-07 13:29:41 -07:00
R. Tyler Ballance
e3e473e62a
Add a bit of documentation, LICENSE and AUTHORS file
...
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-04-06 18:33:45 -07:00
R. Tyler Ballance
d60177854b
Add a small shell utility for decoding latitude/longitude pairs into addresses via VE.
...
Sample transcript:
tyler@grapefruit:~/source/github/pyvirtualearth> python geodecode.py --user=XXXXX --password=XXXX
==> Please enter lat,long as a common-separated pair
)) 34.5,-117.52
[<Address at 0xc71fd0> confidence=Medium, entityType=Address, displayName=6628 Dos Palmas Rd, Phelan, California 92371, United States, address={'AddressLine': '6628 Dos Palmas Rd', 'District': '', 'Locality': 'Phelan', 'PostalTown': '', 'FormattedAddress': '6628 Dos Palmas Rd, Phelan, California 92371, United States', 'PostalCode': '92371', 'AdminDistrict': 'California', 'CountryRegion': 'United States'}
]
==> Please enter lat,long as a common-separated pair
)) ^C==> exiting, thanks for playing
tyler@grapefruit:~/source/github/pyvirtualearth>
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-04-06 17:21:36 -07:00
R. Tyler Ballance
b1708e069d
Add a quick ReverseGeocode test to verify that we're getting proper Address objects back from the API.
...
Sample run output:
tyler@grapefruit:~/source/github/pyvirtualearth> VE_USER=XXXXX VE_PASSWORD=XXXX python tests/ReverseGeocode.py
[<Address at 0xc92990> confidence=Medium, entityType=Address, displayName=Infinite Loop, Cupertino, California 95014, United States, address={'AddressLine': 'Infinite Loop', 'District': '', 'Locality': 'Cupertino', 'PostalTown': '', 'FormattedAddress': 'Infinite Loop, Cupertino, California 95014, United States', 'PostalCode': '95014', 'AdminDistrict': 'California', 'CountryRegion': 'United States'}
, <Address at 0xc929d0> confidence=Medium, entityType=Address, displayName=1 Infinite Loop, Cupertino, CA 95014-2084, address={'AddressLine': '1 Infinite Loop', 'District': '', 'Locality': 'Cupertino', 'PostalTown': '', 'FormattedAddress': '1 Infinite Loop, Cupertino, CA 95014-2084', 'PostalCode': '95014-2084', 'AdminDistrict': 'CA', 'CountryRegion': 'United States'}
]
.
----------------------------------------------------------------------
Ran 1 test in 0.734s
OK
tyler@grapefruit:~/source/github/pyvirtualearth>
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-04-06 16:49:35 -07:00
R. Tyler Ballance
1cba45d540
Return Address classes from the Geocoder.reverse() function for ease of use
...
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-04-06 16:36:28 -07:00
R. Tyler Ballance
909b3ef956
Add the beginnings of the Geocoder interface
...
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-04-06 15:49:35 -07:00
R. Tyler Ballance
ee70c70846
Add tiny gitignore
...
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-04-06 15:39:18 -07:00
R. Tyler Ballance
f970bcbb6e
Move GeocodeService into staging
...
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-04-06 15:37:19 -07:00
R. Tyler Ballance
5b27b3730e
Add a basic module and command-line tool for generating tokens
...
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-04-06 15:23:18 -07:00
R. Tyler Ballance
5f033c7429
Move staging CommonService stubs over
...
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-04-06 15:17:55 -07:00
R. Tyler Ballance
ec8bcc23d6
Add staging directory for staging stubs
...
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-04-06 15:17:20 -07:00
R. Tyler Ballance
e14aaa83e0
Add some basic WSDL generated stubs from the following two WSDLs
...
http://staging.dev.virtualearth.net/webservices/v1/metadata/geocodeservice/geocodeservice.wsdl
https://staging.common.virtualearth.net/find-30/common.asmx?wsdl (this one I had to wget locally since ZSI wasn't having any of this HTTP auth nonsense)
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-04-06 14:46:38 -07:00