Last active
August 29, 2015 13:56
-
-
Save tmaybe/9287366 to your computer and use it in GitHub Desktop.
before and after examples of JSON output for the geographic endpoint
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"results": [{ | |
"kind": "Dapil", | |
"id": "3100-07-0000", | |
"nama": "DKI Jakarta 7", | |
"lembaga": "DPRDI", | |
"coordinates": ["{type:Polygon,coordinates:[[[106.848190505,-6.20797067399991],[106.848196168,-6.20796283099997],[106.846032729,-6.22088056599995],[106.80961,-6.249],[106.813983094,-6.27583176599995],[106.808929624,-6.31454996299993],[106.77989978,-6.31654407799994],[106.757218073,-6.27784298099994],[106.757197965,-6.27627391299996],[106.757182978,-6.27578203299993],[106.756866199,-6.27426223999993],[106.751485887,-6.27276783299993],[106.751135711,-6.27236410799992],[106.750702227,-6.27231908999994],[106.75030826,-6.27185031999994],[106.753649939,-6.26839289099996],[106.754176644,-6.26784794199989],[106.748153878,-6.24961615099988],[106.748134147,-6.24943344499997],[106.746811039,-6.24540027699993],[106.746818747,-6.24503472399988],[106.737315523,-6.22362314399993],[106.77845,-6.22484108499998],[106.792389108,-6.20778802299998],[106.799591252,-6.22899725899987],[106.822708311,-6.20269873599989],[106.848190505,-6.20797067399991]]]}"] | |
}] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"results": { | |
"count": 1, | |
"polygons": [{ | |
"id_polygon": 22848, | |
"provinsi DPD": "Daerah Khusus Ibukota Jakarta", | |
"caleg_results": { | |
"count": 35, | |
"caleg": [] | |
} | |
}] | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": { | |
"results": { | |
"kind": "provinsi", | |
"lembaga": "DPD", | |
"id": 31, | |
"nama": "Daerah Khusus Ibukota Jakarta", | |
"count": 35, | |
"total": 35, | |
"caleg": [] | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"results": { | |
"count": 1, | |
"polygons": [{ | |
"id_polygon": 15771, | |
"dapil DPR": "DKI JAKARTA II", | |
"caleg_results": { | |
"count": 83, | |
"caleg": [] | |
} | |
}] | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": { | |
"results": { | |
"kind": "dapil", | |
"lembaga": "DPR", | |
"id": "3102-00-0000", | |
"nama": "DKI JAKARTA II", | |
"count": 83, | |
"total": 83, | |
"caleg": [] | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"results": { | |
"count": 3, | |
"total": 3, | |
"areas": [] | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": { | |
"results": { | |
"count": 3, | |
"total": 3, | |
"areas": [] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment