USAspending.gov/Test: Difference between revisions

From USApedia
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 1: Line 1:
{{#get_web_data:
  |url=https://api.usaspending.gov/api/v2/agency/012/?fiscal_year=2024
  |format=json
  |data=dept_name=name
}}
{{#get_web_data:  
{{#get_web_data:  
   |url=https://api.usaspending.gov/api/v2/federal_obligations/?fiscal_year=2024&funding_agency_id=95
   |url=https://api.usaspending.gov/api/v2/federal_obligations/?fiscal_year=2024&funding_agency_id=95
   |format=json
   |format=json
   |data=obligated_total=results.0.obligated_amount
   |data=obligated_amount=results.0.obligated_amount
}}
}}
== Department of Agriculture Spending ==
Obligated Amount: {{#external_value:obligated_amount}} USD
* '''Agency''': {{#external_value:dept_name}}
* '''Obligated Amount''': {{#external_value:obligated_total}} USD

Revision as of 17:56, 20 February 2025

Error while fetching data from URL https://api.usaspending.gov/api/v2/federal_obligations/?fiscal_year=2024&funding_agency_id=95: $2.
Error fetching URL: SSL certificate problem: self signed certificate in certificate chain
There was a problem during the HTTP request: 0 Error
Obligated Amount: Error: no local variable "obligated_amount" has been set. USD