Municipality by ID

Municipality by ID Javascript API Documentation

Returns the Municipality with the given ID

API Class:
MunicipalityApi
Instance Method:
getMunicipalityById()

Stock Price Code Example

Use my API Key
var intrinioSDK = require('intrinio-sdk');
intrinioSDK.ApiClient.instance.authentications['ApiKeyAuth'].apiKey = "YOUR_API_KEY";
intrinioSDK.ApiClient.instance.enableRetries = true;
var municipality = new intrinioSDK.MunicipalityApi();
var id = "mun_Xn7x4z";
municipality.getMunicipalityById(id).then(function(data) {
data = JSON.stringify(data, null, 2)
console.log(data);
}, function(error) {
console.error(error);
});
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
idStringAn Intrinio ID of a Municipality 


Return Type

object
Municipality

Properties

NameTypeDescription
idStringThe Intrinio ID for Municipality  
censusIdNumberThe ID for the census  
governmentNameStringThe government name of the Municipality  
governmentTypeStringThe type of government of the Municipality  
primaryContactTypeStringThe primary contact type of the Municipality  
address1StringThe first line of the address  
address2StringThe second line of the address (i.e. suite number)  
cityStringThe city in which the Municipality is located in  
stateStringThe state in which the Municipality is located in  
zipStringThe zip code in which the Municipality is located in  
webSiteStringThe web site of the Municipality  
populationNumberThe population of the Municipality  
populationAsOfYearNumberThe year from which the population of the Municipality was measured  
enrollmentNumberThe enrollment of the Municipality  
enrollmentAsOfYearNumberThe year from which the enrollment of the Municipality was measured  
areaNameStringThe name of the area of the Municipality  
areaTypeStringThe type of area of the Municipality  
latitudeNumberThe latitude of the location of the Municipality  
longitudeNumberThe longitude of the location of the Municipality