Skip to content

Instantly share code, notes, and snippets.

Federal Account Fiscal Year Snapshot

Route: /api/v2/federal_accounts/<PK>/fiscal_year_snapshot/<FY?>

Method: GET

This route takes a federal_account DB ID and returns the data reqired to visualized the fiscal_year_snapshot graphic.

If is not specified, results are returned for the current fiscal year, defined as the most recent FY for which submissions have been certified.

Federal Account Spending By Category

Route: /api/v2/federal_accounts/<PK>/spending_by_category/

Method: POST

This route takes a federal_account DB ID and returns the data reqired to visualized the Spending By Category graphic.

Request

@catherinedevlin
catherinedevlin / download_v2.md
Last active September 25, 2017 20:25 — forked from kevinli-work/download_v2.md
Download v2 API

Download v2 API

/v2/download/columns (GET) (NOT YET IMPLEMENTED)

Returns a list of available columns that can be requested in CSV generation for a specific type.

Request

  • type possible values: award or transaction

Response