USAspending.gov/Test2: Difference between revisions

From USApedia
Line 12: Line 12:
==Subtier Agencies==
==Subtier Agencies==
{{#get_web_data:  
{{#get_web_data:  
   |url=https://api.usaspending.gov/api/v2/references/subtier_agencies/
   |url=https://api.usaspending.gov/api/v2/bulk_download/list_agencies/?type=awarding_agencies&toptier_code=012
   |format=json
   |format=json
   |data=subtier_list=results
   |data=subtier_list=subtier_agencies
}}
}}
Subtier Agencies: {{#external_value:subtier_list}}

Revision as of 22:21, 20 February 2025

Overview

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

  • Agency: Error: no local variable "agency_name" has been set.
  • Abbreviation: Error: no local variable "abbreviation" has been set.
  • Mission: Error: no local variable "mission" has been set.
  • Subtier Agencies: Error: no local variable "subtier_count" has been set.

Subtier Agencies

Could not get URL https://api.usaspending.gov/api/v2/bulk_download/list_agencies/?type=awarding_agencies&toptier_code=012 after 3 tries. Subtier Agencies: Error: no local variable "subtier_list" has been set.