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

Statistics tracker #78

Closed
dsbilling opened this issue Dec 13, 2021 · 6 comments
Closed

Statistics tracker #78

dsbilling opened this issue Dec 13, 2021 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@dsbilling
Copy link
Member

dsbilling commented Dec 13, 2021

A statistics tracker with leaderboard that tracks in-game statistics, the game already tracks many of them, just need to output them on the site.

Split out of #76 by @FantaX1911

@dsbilling dsbilling added the enhancement New feature or request label Dec 13, 2021
@dsbilling
Copy link
Member Author

@FantaX1911 I found this last night. Is this the kind of stats you wanted?

These are the stats I can grab from the API:

  • battle spot battles
  • blackouts
  • bug-catching contest battles
  • caught pokemon
  • cut used
  • eggs hatched
  • evolutions
  • flash used
  • fly used
  • gts trades
  • items found
  • moves learned
  • obtained bp
  • pvp battles
  • registerbattles
  • ride used
  • rock smash used
  • safari battles
  • steps taken
  • strength used
  • surf used
  • tms/hms used
  • trades
  • trainer battles
  • waterfall used
  • whirlpool usedwild battles
  • wondertrades
  • [17]medicine items used
  • [2006]berries picked
  • [22]evolution stones used
  • [25]vitamins used
  • [42]repels used
  • [4]pok\u00e9 balls used
  • [53]status booster used
  • [85]apricorns picked

Getting the data for eggs hatched will return this:

{
    "response": {
        "success": "true",
        "data": "72200"
    }
}

@dsbilling dsbilling self-assigned this Dec 14, 2021
@FantaX1911
Copy link
Member

Yes it is, there might be another "command?" for getting egg hatched.

@FantaX1911
Copy link
Member

FantaX1911 commented Dec 14, 2021

https://i.imgur.com/YGlXyB0.png
this is how they look in-game.

@dsbilling
Copy link
Member Author

You want per user statistic? Not a page for all users?

@FantaX1911
Copy link
Member

I would like to have personal statistics that the user can access via their own profile, in the screenshot I provided, you see 2 numbers next to every stat, the smaller number is the personal record and the bigger number is the total global record,

I would also like to have a global leaderboards that shows the current leader in each stat, not sure if you are able to do this, but I have faith in your abilities.

@dsbilling
Copy link
Member Author

Added in 4.3

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

No branches or pull requests

2 participants