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

ConvertApiUser.SecondsLeft property is depreciated #50

Closed
tomasr78 opened this issue Sep 5, 2023 · 0 comments
Closed

ConvertApiUser.SecondsLeft property is depreciated #50

tomasr78 opened this issue Sep 5, 2023 · 0 comments
Assignees

Comments

@tomasr78
Copy link
Contributor

tomasr78 commented Sep 5, 2023

ConvertApiUser.SecondsLeft is depreciated. Remove property and replace with ConversionsTotal and ConversionsConsumed

ConvertApiUser user = await convert.GetUserAsync();
int secondsLeft = user.SecondsLeft;

After updating fix description and code https://github.com/ConvertAPI/convertapi-dotnet/blob/6281590e92ff09e81689feabde4594533998662a/README.md?plain=1#L95

@tomasr78 tomasr78 changed the title ConvertApiUser.SecondsLeft is depreciated, remove ConvertApiUser.SecondsLeft is depreciated Sep 5, 2023
@tomasr78 tomasr78 changed the title ConvertApiUser.SecondsLeft is depreciated ConvertApiUser.SecondsLeft property is depreciated Sep 5, 2023
tomasr78 pushed a commit that referenced this issue Sep 21, 2023
The ConvertApiUser model was updated by removing "SecondsLeft" and adding "ConversionsTotal" and "ConversionsConsumed". This change reflects the new approach of tracking user activity by total number of conversions and consumed conversions instead of remaining time. Similar changes were applied to the RetrieveUserInformation example for consistency.

ConvertApiUser.SecondsLeft property is depreciated #50
@tomasr78 tomasr78 self-assigned this Sep 21, 2023
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