Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$ curl -s 'http://divulga.tse.jus.br/2014/divulgacao/oficial/143/dadosdivweb/br/br-0001-e001431-w.js' -H 'Referer: http://divulga.tse.jus.br/oficial/index.html' -H 'Cache-Control: no-cache' | python -mjson.tool
{
    "a": "22212872",
    "c": "92334638",
    "cand": [
        {
            "cc": "PT - PT / PMDB / PSD / PP / PR / PROS / PDT / PC do B / PRB",
            "e": "n",
            "n": "13",
            "nm": "DILMA",
            "nv": "VICE: MICHEL TEMER",
            "seq": "1",
            "v": "33780570"
        },
        {
            "cc": "PSDB - PSDB / PMN / SD / DEM / PEN / PTN / PTB / PTC / PT do B",
            "e": "n",
            "n": "45",
            "nm": "A\u00c9CIO NEVES",
            "nv": "VICE: ALOYSIO NUNES FERREIRA",
            "seq": "2",
            "v": "29268591"
        },
        {
            "cc": "PSB - PHS / PRP / PPS / PPL / PSB / PSL",
            "e": "n",
            "n": "40",
            "nm": "MARINA SILVA",
            "nv": "VICE: BETO ALBUQUERQUE",
            "seq": "3",
            "v": "17457269"
        },
        {
            "cc": "PSOL",
            "e": "n",
            "n": "50",
            "nm": "LUCIANA GENRO",
            "nv": "VICE: JORGE PAZ",
            "seq": "4",
            "v": "1335959"
        },
        {
            "cc": "PSC",
            "e": "n",
            "n": "20",
            "nm": "PASTOR EVERALDO",
            "nv": "VICE: LEONARDO GADELHA",
            "seq": "5",
            "v": "624403"
        },
        {
            "cc": "PV",
            "e": "n",
            "n": "43",
            "nm": "EDUARDO JORGE",
            "nv": "VICE: C\u00c9LIA SACRAMENTO",
            "seq": "6",
            "v": "528441"
        },
        {
            "cc": "PRTB",
            "e": "n",
            "n": "28",
            "nm": "LEVY FIDELIX",
            "nv": "VICE: CEL. JOS\u00c9 ALVES",
            "seq": "7",
            "v": "366328"
        },
        {
            "cc": "PSTU",
            "e": "n",
            "n": "16",
            "nm": "Z\u00c9 MARIA",
            "nv": "VICE: CLAUDIA DURANS",
            "seq": "8",
            "v": "74343"
        },
        {
            "cc": "PSDC",
            "e": "n",
            "n": "27",
            "nm": "EYMAEL",
            "nv": "VICE: ROBERTO LOPES",
            "seq": "9",
            "v": "50384"
        },
        {
            "cc": "PCB",
            "e": "n",
            "n": "21",
            "nm": "MAURO IASI",
            "nv": "VICE: SOFIA MANZANO",
            "seq": "10",
            "v": "38724"
        },
        {
            "cc": "PCO",
            "e": "n",
            "n": "29",
            "nm": "RUI COSTA PIMENTA",
            "nv": "VICE: RICARDO MACHADO",
            "seq": "11",
            "v": "9942"
        }
    ],
    "carper": "1",
    "cdabr": "BR",
    "dt": "05/10/2014",
    "e": "142822046",
    "ea": "114547510",
    "ele": "143",
    "ena": "28274536",
    "f": "o",
    "ht": "19:19:48",
    "m": "n",
    "s": "428894",
    "snt": "84232",
    "st": "344662",
    "t": "1",
    "tf": "n",
    "tpabr": "br",
    "tv": "92334638",
    "v": "1",
    "vb": "3542427",
    "vl": "0",
    "vn": "5257257",
    "vnom": "83534954",
    "vp": "0",
    "vv": "83534954"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.