Digital Transparency Index

API

To get things started, here are three ways you can use the data.

  1. Download the data as a CSV file. Note that the data is constantly being pinged and updated, so when you download the CSV data, you're only getting a snapshot of one moment in time.
     
  2. Get JSON data using the following query:

    http://digitaltransparency.appspot.com/image?output=json

    You can filter the data by adding these optional parameters:
    • state - two letter abbreviation for state
    • party - one letter abbreviation for the party (D for Democrat, R for Republican, I for Independent)
    • title - three letter title abbreviation, either Rep for Representative or Sen for Senator.

  3. Get a visual image of your query using this URL:

    http://digitaltransparency.appspot.com/image

    The default dimensions are 600x20, but you can customize that by adding height and width as parameters.

Right now the API is limited, so some functionality is not supported, specifically:

  • There are no sorting options right now for the output. Currently, it's based in order of their digital transparency index.
  • Compound searches using an OR. Currently all compound searches use AND based logic.

Examples


created by wubbahed.com | follow wubbahed on Twitter
Check out RepresentedBy, a Facebook app to follow your legislators | follow RepresentedBy on Twitter