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 individual buying/selling statistics in stats endpoint #36

Closed
Kaptard opened this issue Aug 25, 2017 · 1 comment
Closed

Add individual buying/selling statistics in stats endpoint #36

Kaptard opened this issue Aug 25, 2017 · 1 comment
Assignees

Comments

@Kaptard
Copy link
Member

Kaptard commented Aug 25, 2017

This will likely require breaking changes. A sensible schema may look like this:

{
  item: "itemname", // key used to be called title, but for consistency item is preferred
  buying: {
    offers: {
       count: Number,
       percentage: Number,
    },
    components: [/*...*/] // original components array, but offers {} like above instead of supply/demand
  },
  selling: {/* same as buying */},
  combined: {/* same as original, but no supply/demand keys, use offers instead, offers.percentage is 100%*/}
}

Might have missed something, so it's best to look at other possibilities too.

@Nakroma
Copy link
Member

Nakroma commented Sep 21, 2017

For now in v1/items/statistics_new

@Nakroma Nakroma closed this as completed Sep 21, 2017
@Kaptard Kaptard added this to the [Warframe] Nexus-Stats Rework milestone Oct 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants