Template:USAS obligation: Difference between revisions

From USApedia
(Created page with "{{#get_web_data: |url=https://api.usaspending.gov/api/v2/federal_obligations/?fiscal_year=2024&funding_agency_id={{{id}}} |format=json |data=agency_name=agency_name,obligated_amount=obligated_amount }} * '''Obligated Amount''': ${{formatnum:{{#external_value:obligated_amount}}}} USD")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#get_web_data:  
{{#get_web_data:  
   |url=https://api.usaspending.gov/api/v2/federal_obligations/?fiscal_year=2024&funding_agency_id={{{id}}}
   |url=https://api.usaspending.gov/api/v2/federal_obligations/?fiscal_year={{{year}}}&funding_agency_id={{{id}}}
   |format=json
   |format=json
   |data=agency_name=agency_name,obligated_amount=obligated_amount
   |data=agency_name=agency_name,obligated_amount=obligated_amount
}}
}}${{formatnum:{{#external_value:obligated_amount}}}} USD<noinclude>
* '''Obligated Amount''': ${{formatnum:{{#external_value:obligated_amount}}}} USD
{{Doc}}
</noinclude>

Latest revision as of 15:12, 21 February 2025

Error while fetching data from URL https://api.usaspending.gov/api/v2/federal_obligations/?fiscal_year={{{year}}}&funding_agency_id={{{id}}}: $2.
Error fetching URL: SSL certificate problem: self signed certificate in certificate chain
There was a problem during the HTTP request: 0 Error
Could not get URL https://api.usaspending.gov/api/v2/federal_obligations/?fiscal_year={{{year}}}&funding_agency_id={{{id}}} after 3 tries.
$Error: no local variable "obligated_amount" has been set. USD