Skip to content
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

Fetch cost of current print via API #18

Open
zachstence opened this issue Oct 21, 2022 · 0 comments
Open

Fetch cost of current print via API #18

zachstence opened this issue Oct 21, 2022 · 0 comments

Comments

@zachstence
Copy link

Hi @OllisGit , great work on the project. I love this plugin and SpoolManager.

I'm working on showing data about the current print in a dashboard, and I am looking to get the cost of the current print via some API endpoint. I am using the API endpoints in SpoolManager to get the selected spool, but don't see any similar endpoints in CostEstimation.

I noticed here that the cost data is being sent/saved somewhere (/storeCurrentCosts). I looked through the code but can't find where that endpoint is, or what it does.

Is there any way to get this cost value externally? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant