api.maponics.com logo

Documentation > Public Methods > Method Detail: getGeoAttByName

This request requires you to submit an object name, field list and other uniquely identifying features. The API will return a list of attributes for that object.

To see the parameters that are required by a specific dataset when calling this method, please select the dataset from the list below:

  Required parameters for this dataset/method combination

Sample Request XML

Please remember that this is merely a static example of an API request. For a real-world API request, the dataset code would reflect the actual dataset called, and the paramters would then follow from that dataset. To see a list of the required parameters for any given dataset with this method, select the dataset in the drop down list above.

<?xml version="1.0" encoding="UTF-8" ?> <data> <auth> <loginname>your_username</loginname> <key>your_api_key</key> </auth> <request> <dataset>N</dataset> <method>getGeoAttByName</method> <parameters> <name>tribeca</name> <city>new york</city> <state>NY</state> <submatch>N</submatch> <fields>nid,neighborhd</fields> </parameters> </request> </data>

Sample Response XML

Please remember that this is merely sample XML and the returned items shown are in no way representative of real-world data.

<?xml version="1.0" encoding="UTF-8" ?> <data> <request> <item> <nid>7658</nid> <neighborhd>Tribeca</neighborhd> </item> </request> </data>