-
Notifications
You must be signed in to change notification settings - Fork 0
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
Rewrite dblstatistics.js to new TopStats API functionality #1
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good!
lib/index.ts
Outdated
approved_at: string; | ||
/** Current monthly votes */ | ||
monthly_votes: number; | ||
/** Current server count */ | ||
server_count: number; | ||
/** Total votes received */ | ||
total_votes: number; | ||
/** Current shard count */ | ||
shard_count: number; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The mix of camel case and snake case would make the experience inconsistent.
It's my understanding that the API returns snake case but the internal pieces of the library use camel case.
It may be not worth the effort but getting them to be the same throughout the library would make this much nicer. Auto conversion?
No description provided.