despatchbay / despatchbay-api-v15

Despatch Bay SOAP API v15
https://despatchbay.com/works-with/everything
4 stars 0 forks source link

Address API #1

Closed ByteDigital123 closed 4 years ago

ByteDigital123 commented 4 years ago

I am using a demo account.

When I am using the AddressApi I am hitting the GetAddressKeysByPostcode and sending it a postcode, I am then getting back a list of address, fine. But they're completely wrong. is this by design?

for example, if I use my postcode Sk1 4HP

I get back:

=> [
     {#1470
       +"Key": "EX11AW1003",
       +"Address": "Flat 3, Platform Darwin House, Southernhay Gardens, Exeter, Devon",
     },
     {#1469
       +"Key": "TN316AH1002",
       +"Address": "Wick Farm Oast, Udimore, Rye, East Sussex",
     },
     {#1468
       +"Key": "PE316AJ1007",
       +"Address": "30a Castle Rising, King's Lynn, Norfolk",
     },
     {#1478
       +"Key": "NE675AG1001",
       +"Address": "23-25 Swinhoe Road, Beadnell, Chathill, Northumberland",
     },
     {#1466
       +"Key": "TA51AR1003",
       +"Address": "Chedzoy, Aisholt, Bridgwater, Somerset",
     },
     {#1476
       +"Key": "ML20AD1006",
       +"Address": "6 Leatham Place, Wishaw, Lanarkshire",
     },
     {#1465
       +"Key": "SO321AG1003",
       +"Address": "Gable Cottage, Coppice Hill, Bishops Waltham, Southampton, Hampshire",
     },
     {#1464
       +"Key": "G225AB1010",
       +"Address": "1/2, 188 Bardowie Street, Glasgow",
     },
   ]
jamiethompson commented 4 years ago

This method intentionally returns random address data when your account is in demo mode. This is to prevent unauthorised usage of our addressing API for purposes other than it is intended for.

ByteDigital123 commented 4 years ago

ok, thought so, just wanted to check. Thanks