Skip to content

Instantly share code, notes, and snippets.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Keybase proof

I hereby claim:

  • I am catherinedevlin on github.
  • I am catherinedevlin (https://keybase.io/catherinedevlin) on keybase.
  • I have a public key ASCRzDADrFFPL7NpH-_F9G04P4SKy6dAgw4GYTcrsvyCrQo

To claim this, I am signing this object:

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@catherinedevlin
catherinedevlin / subawards_gist.md
Created February 7, 2018 20:28
Proposed expanded spending_by_award search with subawards

Route: /api/v2/search/spending_by_award/

Method: POST

This route takes award filters and fields, and returns the fields of the filtered awards.

Request

field: Defines what award variables are returned.

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

@catherinedevlin
catherinedevlin / budget_authority_endpoint.md
Last active July 7, 2017 18:52
Endpoint description for /api/v2/budget_authority/agencies/<agency_identifier>/

Retrieve Historical Budget Authority data by agency identifier

Route: /api/v2/budget_authority/agencies/<agency_identifier>/

Method: GET

This route retrieves a record of historical budget authority, by year, summed over an agency, as identified by the agency identifier (or CGAC) and, optionally, over FR entity code (FREC).

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.