USAspending.gov/Test: Difference between revisions

From USApedia
No edit summary
No edit summary
Line 1: Line 1:
{{#get_web_data:  
{{#get_web_data:  
   |url=https://api.usaspending.gov/api/v2/agency/012/awards/?fiscal_year=2024
   |url=https://api.usaspending.gov/api/v2/agency/012/?fiscal_year=2024
   |format=json
   |format=json
   |data=agency_name=results.0.agency.name,total_obligation=results.0.obligated_amount
   |data=agency_name=name,spending=obligated_amount
}}
}}
== Department of Agriculture Spending ==
== Department of Agriculture Spending ==
* '''Agency''': {{#external_value:agency_name}}
* '''Agency''': {{#external_value:agency_name}}
* '''Total Obligation''': {{#external_value:total_obligation}}
* '''Obligated Amount''': {{#external_value:spending}} USD

Revision as of 17:45, 20 February 2025

Error while fetching data from URL https://api.usaspending.gov/api/v2/agency/012/?fiscal_year=2024: $2.
Error fetching URL: SSL certificate problem: self signed certificate in certificate chain
There was a problem during the HTTP request: 0 Error

Department of Agriculture Spending

  • Agency: Error: no local variable "agency_name" has been set.
  • Obligated Amount: Error: no local variable "spending" has been set. USD