Municipality by ID

Municipality by ID Python API Documentation

Returns the Municipality with the given ID

API Class:
MunicipalityApi
Instance Method:
get_municipality_by_id()

Stock Price Code Example

Use my API Key
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
id = 'mun_Xn7x4z'
response = intrinio.MunicipalityApi().get_municipality_by_id(id)
print(response)
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
idstrAn Intrinio ID of a Municipality 


Return Type

object
Municipality

Properties

NameTypeDescription
idstrThe Intrinio ID for Municipality  
census_idfloatThe ID for the census  
government_namestrThe government name of the Municipality  
government_typestrThe type of government of the Municipality  
primary_contact_typestrThe primary contact type of the Municipality  
address1strThe first line of the address  
address2strThe second line of the address (i.e. suite number)  
citystrThe city in which the Municipality is located in  
statestrThe state in which the Municipality is located in  
zipstrThe zip code in which the Municipality is located in  
web_sitestrThe web site of the Municipality  
populationfloatThe population of the Municipality  
population_as_of_yearfloatThe year from which the population of the Municipality was measured  
enrollmentfloatThe enrollment of the Municipality  
enrollment_as_of_yearfloatThe year from which the enrollment of the Municipality was measured  
area_namestrThe name of the area of the Municipality  
area_typestrThe type of area of the Municipality  
latitudefloatThe latitude of the location of the Municipality  
longitudefloatThe longitude of the location of the Municipality