-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Task: Create a tibble of all endpoints in the "fec.gov" API. #66
Milestone
Comments
jonthegeek
changed the title
Task: Fetch the full definition of the "fec.gov" API.
Task: Create a tibble of all endpoints in the "fec.gov" API.
Feb 19, 2024
# Note: I'm using the dev version of tibblify, pak::pak("mgirlich/tibblify#191")
all_apis$fec.gov$versions$`1.0`$swaggerUrl
fec_paths <- tibblify::parse_openapi_spec(
all_apis$fec.gov$versions$`1.0`$swaggerUrl
)
fec_paths
fec_paths$operations |> lengths() |> unique()
fec_paths$operations[[1]]
fec_paths$operations |>
purrr::map_int(nrow) |>
unique()
fec_operations <- fec_paths |>
tidyr::unnest_wider(operations)
fec_operations
fec_operations$parameters[[1]]
fec_operations$global_parameters[[1]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: