USAspending.gov/Test: Difference between revisions
No edit summary Tag: Manual revert |
No edit summary |
||
Line 1: | Line 1: | ||
Provides total: | |||
{{#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_amount= | |data=agency_name=agency_name,obligated_amount=obligated_amount | ||
}} | }} | ||
Obligated Amount: {{#external_value:obligated_amount}} USD | == Department of Agriculture Spending == | ||
* '''Agency''': {{#external_value:agency_name}} | |||
* '''Obligated Amount''': {{#external_value:obligated_amount}} USD | |||
Provides name correctly: | |||
{{#get_web_data: | |||
|url=https://api.usaspending.gov/api/v2/agency/012/?fiscal_year=2024 | |||
|format=json | |||
|data=agency_name=name,spending=outlay_amount | |||
}} | |||
== Department of Agriculture Spending == | |||
* '''Agency''': {{#external_value:agency_name}} | |||
* '''Obligated Amount''': {{#external_value:spending}} USD |
Revision as of 17:57, 20 February 2025
Provides total:
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
Department of Agriculture Spending
- Agency: Error: no local variable "agency_name" has been set.
- Obligated Amount: Error: no local variable "obligated_amount" has been set. USD
Provides name correctly:
Department of Agriculture Spending
- Agency: Department of Agriculture
- Obligated Amount: Error: no local variable "spending" has been set. USD