Import API #76

Closed
opened 2025-12-28 23:25:21 +01:00 by adam · 4 comments
Owner

Originally created by @Polsaker on GitHub (Nov 30, 2025).

Heya, it'd be neat if this project had a proper API so I can externally automate imports. I guess the existing access token feature of DRF could be used to facilitate this.

Originally created by @Polsaker on GitHub (Nov 30, 2025). Heya, it'd be neat if this project had a proper API so I can externally automate imports. I guess the existing access token feature of DRF could be used to facilitate this.
adam closed this issue 2025-12-28 23:25:21 +01:00
Author
Owner

@eitchtee commented on GitHub (Nov 30, 2025):

Hey there, what do you mean by "proper"? We do have an API, it's not 1:1 with the UI, but it should cover most basic functions. Check the documentation on: <your-wygiwyh-url>/api/docs/.

@eitchtee commented on GitHub (Nov 30, 2025): Hey there, what do you mean by "proper"? We do have an API, it's not 1:1 with the UI, but it should cover most basic functions. Check the documentation on: `<your-wygiwyh-url>/api/docs/`.
Author
Owner

@Polsaker commented on GitHub (Nov 30, 2025):

I can't upload CSV/XLS files via api to import using the very neat yaml configurable import engine. Being able to do that would be a game changer to automatically import balance reports I get by mail for example.
Instead I have to make a script to parse the file and shoot a bazillion requests to the /api/transactions/ endpoint.

PS: While doing the above I noticed there's no way to get an account's "balance" via the API, so I can't make reconciliation transactions eithar

@Polsaker commented on GitHub (Nov 30, 2025): I can't upload CSV/XLS files via api to import using the very neat yaml configurable import engine. Being able to do that would be a game changer to automatically import balance reports I get by mail for example. Instead I have to make a script to parse the file and shoot a bazillion requests to the `/api/transactions/` endpoint. PS: While doing the above I noticed there's no way to get an account's "balance" via the API, so I can't make reconciliation transactions eithar
Author
Owner

@eitchtee commented on GitHub (Dec 7, 2025):

@Polsaker I forgot to answer you, but I loved the idea. So much so the next update will have endpoints for sending files to import and to get the balance of an account. Let me know if have any other suggestions (or problems).

@eitchtee commented on GitHub (Dec 7, 2025): @Polsaker I forgot to answer you, but I loved the idea. So much so the next update will have endpoints for sending files to import and to get the balance of an account. Let me know if have any other suggestions (or problems).
Author
Owner

@Polsaker commented on GitHub (Dec 7, 2025):

awesome! this opens a ton of avenues for automation

@Polsaker commented on GitHub (Dec 7, 2025): awesome! this opens a ton of avenues for automation
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WYGIWYH#76