Template:USAS obligation: Difference between revisions
(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") |
(add year) |
||
Line 1: | Line 1: | ||
{{#get_web_data: | {{#get_web_data: | ||
|url=https://api.usaspending.gov/api/v2/federal_obligations/?fiscal_year= | |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 | ||
}} | }} | ||
* '''Obligated Amount''': ${{formatnum:{{#external_value:obligated_amount}}}} USD | * '''Obligated Amount''': ${{formatnum:{{#external_value:obligated_amount}}}} USD |
Revision as of 14:57, 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.
- Obligated Amount: $Error: no local variable "obligated_amount" has been set. USD