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

Add counter for print & copy #59

Open
wants to merge 17 commits into
base: dev
Choose a base branch
from

Conversation

sebcaps
Copy link

@sebcaps sebcaps commented Apr 10, 2023

Add the ability to get number of print & copies for the printer.
No HTML scrapping supported for these data => an exception is raised for these data with HTML scrapping.

@nielstron nielstron changed the base branch from master to dev November 14, 2023 23:17
@nielstron
Copy link
Owner

Hi @sebcaps, thanks for your addition! Could you please rebase your changes on the latest version of the dev branch?


async def _current_data(self) -> Dict[str, Any]:
async def _current_data(self, datatype: Any) -> Dict[str, Any]:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might make sense to split this function into _current_data_home and _current_data_counter or sth similar

@nielstron
Copy link
Owner

This addition will also require additional use cases to be added to cover the counter json. Please also provide raw json output for the counter.json API output.

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

Successfully merging this pull request may close these issues.

None yet

3 participants