USAspending.gov/Test: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#get_web_data: | |||
|url=https://api.usaspending.gov/api/v2/agency/012/?fiscal_year=2024 | |||
|format=json | |||
|data=agency_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= | |data=obligated_amount=results.0.obligated_amount | ||
}} | }} | ||
== Department of Agriculture Spending == | == Department of Agriculture Spending == | ||
* '''Agency''': {{#external_value:agency_name}} | * '''Agency''': {{#external_value:agency_name}} | ||
* '''Obligated Amount''': {{#external_value:obligated_amount}} USD | * '''Obligated Amount''': {{#external_value:obligated_amount}} USD |
Revision as of 17:53, 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 "obligated_amount" has been set. USD