API

Zbir


DESCRIPTION: Use this POST request to download data.
POST REQUEST URL: http://datacentar.io/en/api/zbir

INQUIRY PARAMETERS:
Parameter Type Description
tipPodataka String. Use this parameter to filter based on the type of data.
godine List of whole numbers. Years we want to download data for.
opstine List of strings. Municipalities.
klasifikacijaBroj List of whole numbers. Economic classification.
pocinjeSa String. Use this parameter to filter based on the type of data.
Fillters
ukupno Number. Set the range by setting parameter veceIliJednako as the minimal value and parameter manjeIliJednako as the maximal value.
sopstveniPrihodi Number. Set the range by setting parameter veceIliJednako as the minimal value and parameter manjeIliJednako as the maximal value.
prihodiBudzeta Number. Set the range by setting parameter veceIliJednako as the minimal value and parameter manjeIliJednako as the maximal value.
donacije Number. Set the range by setting parameter veceIliJednako as the minimal value and parameter manjeIliJednako as the maximal value.
ostali Number. Set the range by setting parameter veceIliJednako as the minimal value and parameter manjeIliJednako as the maximal value.

Filters:



Request Body:

                                                    
                                                

Response:

                                        
                                    

Economic classification.

DESCRIPTION: Use this POST request to download data.
POST REQUEST URL: http://datacentar.io/en/api/ekonomska-klasifikacija

INQUIRY PARAMETERS:
Parameter Type Description
tipPodataka String. Use this parameter to filter based on the type of data.
godine List of whole numbers. Years we want to download data for.
opstine List of strings. Municipalities.
Request Body:
                                            
                                        
Response:
                                        
                                    

Economic classification info for municipalities

DESCRIPTION: Use this POST request to download data.
POST REQUEST URL: http://datacentar.io/en/api/sakupiti-klasifikacija-za-opstine

INQUIRY PARAMETERS:
Parameter Type Description
tipPodataka String. Use this parameter to filter based on the type of data.
godine List of whole numbers. Years we want to download data for.
klasifikacijaBroj List of whole numbers. Economic classification
Request Body:
                                            
                                        
Response:
                                        
                                    

List of Municipalities for Classification Number

DESCRIPTION: Use this POST request to download data.
POST REQUEST URL: http://datacentar.io/en/api/spisak-opstina-za-klasifikacija-broj

INQUIRY PARAMETERS:
Parameter Type Description
tipPodataka String. Use this parameter to filter based on the type of data.
godine List of whole numbers. Years we want to download data for.
klasifikacijaBroj List of whole numbers. Economic classification.
Request Body:
                                            
                                        
Response:
                                        
                                    

Parlamentary and Presidential Elections

DESCRIPTION: Use this POST request to download data.

Parlamentary

GET election results grouped by territories:
POST REQUEST URL:
http://datacentar.io/api/izbori/datasource/parlamentarni/godina/int:godina/teritorija/instanca/int:territory_admin_level


EXAMPLE POST REQUEST URL: http://datacentar.io/api/izbori/2/parlamentarni/godina/2003/teritorija/instanca/2

GET election results for a given territory:
EXAMPLE POST REQUEST URL:
http://datacentar.io/api/izbori/int:data_source_id/parlamentarni/godina/int:godina/teritorija/instanca/int:territory_admin_level/string:territory_slug

Presidential

GET election results grouped by parties:
EXAMPLE POST REQUEST URL:
http://datacentar.io/api/izbori/int:data_source_id/predsjednicki/godina/int:godina/krug/string:krug/teritorija

EXAMPLE POST REQUEST URL: http://datacentar.io/api/izbori/2/predsjednicki/godina/2003/krug/prvi/teritorija
Short description: Krug can be prvi or drugi

WHICH DATASET SHOULD WE OPEN NEXT?

Contact us

Write to us if you need any special information, data, or visualizations.

Data Centar is freely available to all under a Creative Commons CC-0 license.