Goto
Geocode an Address
Find Alternate Addresses
Quick Comps
Insert Notes
Place Ads
Home Page
Mighty Map
Login Page
Note: If you get errors when trying these services, most time it has nothing to do with the web service itself(probably due to the implementation for this demo page only). It is the programmer's responsibility to catch all exceptions, then throw an meaningful message for their users.
Also, check back periodically, more web services and rich functionalities will come!
Please download MightyMap Web Services Developer's Guide (Microsoft Word format) for complete reference!
- Version 1.0, which this demo page is based on;
- Version 1.1 which provides more APIs in the Parcel service.
1. Geocode an Address
Web service formal defination, methods and SOAP sample
Description: Geocoding an Address
Method:
FindParcel(Address,BoroCode,Username,Password)
Input:
Address, BoroCode, Username, Password
Output:
NYCParcel(Object). which includes following properties,
.X (double)
.Y (double) Projection: NAD_1983_StatePlane_New_York_Long_Island_FIPS_3140_Feet.
.Address (string)
.BBL (string)
.ObjectID (int) an unique id in our database
C# Sample Code:
Parcel p = new Parcel();
NYCParcel result = p.FindParcel("249 empire blvd", 3, myUsername, myPassword);
Label1.text = result.X;
Label2.text = result.Y;
Label3.text = result.Address;
Label4.text = result.BBL;
Label5.text = result.ObjectID;
Geocode an Address -- Click the right side arrow to collapse/expand the live demo
Live Demo:
Address:
Boro:
Manhattan
Bronx
Brooklyn
Queens
Staten Island
Result:
Label1
Label2
Label3
Label4
Label5
2. Find Alternate Addesses
Web service formal defination, methods and SOAP sample
Description: Find Address Range, Alternate Addresses, Alias Street Names
Method:
FindParcel(Address,BoroCode,Username,Password)
Input:
Address, BoroCode, Username, Password
Output:
NYCAddress[](Array). each record in the array has following elements,
.PreDir (string)
.Pretype (string)
.StName (string)
.StType (string)
.SufDir (string)
.FromLeft (int)
.FromRight (int)
.ToLeft (int)
.ToRight (int)
.Getaddress() Method to get the string reprentation of the address.
.From/To (int) get the min/max house number. Return non-zero From/To values.
Find Alternate Addresses --Click the right side arrow to collapse/expand the live demo
Live Demo:
Address:
Boro:
Manhattan
Bronx
Brooklyn
Queens
Staten Island
Result:
3. Quick Comps
Web service formal defination, methods and SOAP sample
Description: Search Comps in 1 Mile Radius
Method:
QuickCompsQuery(CenterParcel, Radius, FromDate, ToDate, Username, Password)
Input:
CenterParcel, Radius, FromDate, ToDate, Username, Password
Output:
NYCComp[](Array). each record in the array contains following elements,
.BBL (string)
.Address (string)
.Unit (string)
.Date (string) Comp recorded date
.Price (double)
.PricePSF (double)
.PricePSFAR (double)
.Seller (string)
.Buyer (string)
.... There are more fields,please download the 'Guide' for complete list.
Quick Comps Search --Click the right side arrow to collapse/expand the live demo
Live Demo:
Center Parcel:
Boro:
Manhattan
Bronx
Brooklyn
Queens
Staten Island
Radius (<=1 mile)
(mile)
From Date:
To Date:
e.g. 3/1/2007                      e.g. 3/31/2007
Result:
4. Insert Notes
Web service formal defination, methods and SOAP sample
Description: Programmatically insert one or many private notes onto MightyMap, the note(s) will be display on the map as pushpin.
<
Method:
InsertNotes(please refer developer's guide for required parameters)
other methods to manage your notes are,
GetUserNotes(), GetAddrNotes(),DeleteNote(),DeleteNoteRange(),
please refer developer's guide for detailed explanations.
Input:
please refer developer's guide for required parameters.
Output:
string "Success", if insert successfully, or exception stack trace.
Since the notes are private data, you need to have an account to be able to see the result. However, it is very similar to
the InsertAdvertisement method, so please see the live demo for inserting ads to see how it works!
5. Place Ads
Web service formal defination, methods and SOAP sample
Description: Programmatically insert one or many ad(s) onto MightyMap, the ad(s) will be rendered on the map based on its type(commnercial or residential).
Method:
InsertAd(please refer developer's guide for required parameters)
other methods to manage your ads are,
GetUserAds(), GetAddrAds(),DeleteAd(),DeleteAdRange(),
please refer developer's guide for detailed explanations.
Input:
please refer developer's guide for required parameters.
Output:
string "Success", if insert successfully, or display exception stack trace if there are errors.
Place an Ad --Click the right side arrow to collapse/expand the live demo
Live Demo:
Address:
Boro:
Manhattan
Bronx
Brooklyn
Queens
Staten Island
Ad Title:
Contact Name:
Company:
Phone Number:
Email:
Residential
Commercial
I am:
Broker
Principal
Leasing Agent
Other
I have space for:
Sale
Rent
Share
Sublet
Brokers May:
Contact Me
Not Contact Me
Fee paid by:
Buyer/Tenent
Principal
Broker
No Fee
URL:
Details: