Last active
March 22, 2023 22:09
-
-
Save lincolnlemos/4d38e86f892e5ee2eb48f56ea2078e77 to your computer and use it in GitHub Desktop.
CEE - To date policies/jurisdictions GraphQL query
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Request URL: https://explorer-api.localenergycodes.com/api/graphql | |
{ | |
policies_count: policies( | |
where: [{column: "exclude_in_report", value: "false"}] | |
count: "id" | |
orderBy: [{column: "count_total", order: "DESC"}] | |
) { | |
count_total | |
} | |
jurisdictions_count: policies( | |
where: [{column: "exclude_in_report", value: "false"}] | |
count: "jurisdiction_id" | |
orderBy: [{column: "count_total", order: "DESC"}] | |
) { | |
count_total | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment