Fetching all one-time donations #5226
-
Currently, to download one-time donations, I'm using the GraphQL API to retrieve I'm curious if there's an easier way to download one-time donations? If not, would it be possible to add a filter onto Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
What you propose could work but I think a more suitable approach is to have that filter on the I started implement something like this here: opencollective/opencollective-api#7178 |
Beta Was this translation helpful? Give feedback.
-
Shipped. You can have a try with the following: query {
orders(
account: { slug: "eslint" }
frequency: ONETIME
status: PAID
limit: 1000
) {
totalCount
nodes {
frequency
status
amount {
value
currency
}
fromAccount {
slug
}
}
}
}
|
Beta Was this translation helpful? Give feedback.
Shipped. You can have a try with the following: