Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

Adding documentation to undocumented attributes #36

Merged
merged 2 commits into from
May 29, 2018

Conversation

nathancarter
Copy link
Contributor

Hopefully these docs can help others who browse to this page and want to know what the various stats are and what they mean. Not all meanings were clear to me from data I've inspected, so I'm leaving some unspecified. Obviously anyone can come along later and propose a change to add info I didn't know how to add.

Hopefully these docs can help others who browse to this page and want to know what the various stats are and what they mean.  Not all meanings were clear to me from data I've inspected, so I'm leaving some unspecified.  Obviously anyone can come along later and propose a change to add info I didn't know how to add.
README.md Outdated
- `.name` - a string, the player's IGN
- `.shardId` - region from which the match was fetched, in lower case (e.g., `"na"`)
- `.stats` - an object with the following attributes:
- `elo_earned_season_4` - meaning unclear
Copy link
Contributor

Choose a reason for hiding this comment

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

Those values are all deprecated, they were replaced by rankPoints

README.md Outdated
- `lifetimeGold` - meaning unclear
- `lossStreak` - number of matches the player has lost in a row, or 0 if the last match was a win (but sometimes this number and `winStreak` are both zero, impossibly)
- `played` - meaning unclear
- `played_aral` - meaning unclear
Copy link
Contributor

Choose a reason for hiding this comment

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

same for these

Copy link
Contributor

Choose a reason for hiding this comment

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

they were replaced by gamesPlayed

README.md Outdated
- `itemSells` - similar in structure to the previous, but for selling items
- `itemUses` - an object whose keys are the names of items the player used, and whose values are the number of times the player used the item; example: `{"Travel Boots":3,"Scout Cam":3,...}`
- `items` - array of strings, all items the player possessed at the end of the match
- `jungleKills` - meaning uncertain
Copy link
Contributor

Choose a reason for hiding this comment

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

Jungle camps

README.md Outdated
- `.shardId`
- `.stats`
- `.titleId`
- `.createdAt` - a string, the match timestamp, suitable for passing to JavaScript `Date` constructor
Copy link
Contributor

Choose a reason for hiding this comment

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

This would be also good to highlight that it's the time on which the match was started, not when it ended

@PierreAndreis
Copy link
Contributor

It looks really good to me, really helpful

@nathancarter
Copy link
Contributor Author

What's the best way for me to incorporate your corrections, @PierreAndreis ? Before now, I've never needed to modify a GitHub PR, so I'm not familiar with the process.

@PierreAndreis
Copy link
Contributor

PierreAndreis commented Apr 19, 2018

@nathancarter any commits to the origin of this PR will show here. In this case, it's the branch patch-1 on your fork

If you are using the web UI, just modify this file https://github.com/nathancarter/vainglory/blob/patch-1/README.md

@nathancarter
Copy link
Contributor Author

OK...swamped at actual job at the moment...will get back to this...thanks!

@nathancarter
Copy link
Contributor Author

The changes you suggested have been made. Thank you!

@seripap seripap merged commit 0244fb0 into seripap:master May 29, 2018
@seripap
Copy link
Owner

seripap commented May 29, 2018

👍

@nathancarter nathancarter deleted the patch-1 branch June 1, 2018 12:35
@nathancarter
Copy link
Contributor Author

Great, thanks, glad to be of some assistance. This repo is super helpful!

PierreAndreis pushed a commit to PierreAndreis/vainglory that referenced this pull request Jun 5, 2018
* Adding documentation to undocumented attributes

Hopefully these docs can help others who browse to this page and want to know what the various stats are and what they mean.  Not all meanings were clear to me from data I've inspected, so I'm leaving some unspecified.  Obviously anyone can come along later and propose a change to add info I didn't know how to add.

* Improving this PR based on help from PierreAndreis
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants