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 endpoint for getting credits informations #27

Open
gbnk0 opened this issue Apr 25, 2024 · 1 comment
Open

Add endpoint for getting credits informations #27

gbnk0 opened this issue Apr 25, 2024 · 1 comment

Comments

@gbnk0
Copy link

gbnk0 commented Apr 25, 2024

like {"credits": 140}

@JouseJG
Copy link
Contributor

JouseJG commented May 7, 2024

I have created a pull request with that same endpoint, I have called it "get_credits" and you don't need to pass any data for body or Query. The call pulls more data from the user but I have limited it to these fields:
-credits_left
-period
-monthly_limit
-monthly_usage

Anyway as of this writing I have not been approved yet so if you want to try the endpoint you can try my Fork

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

2 participants