add fundraising API

This commit is contained in:
Pierre de Lacroix 2026-01-22 19:35:01 +01:00
parent d2ec7b12a9
commit c95d877e68
Signed by: lateralus23
GPG key ID: 53E0CEC29C24EF39
4 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,14 @@
defmodule CampApi.Grist.Fundraising do
@moduledoc false
alias CampApi.Grist
@gauge_doc "wWacvVWE9QtQ"
@gauge_table "Dons"
def get() do
{:ok, %{body: %{"records" => records}}} = Grist.get_records(@gauge_doc, @gauge_table)
records
end
end