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

Upload JSON directly and split it into multiple files #1

Open
aaronfranke opened this issue Nov 2, 2018 · 7 comments
Open

Upload JSON directly and split it into multiple files #1

aaronfranke opened this issue Nov 2, 2018 · 7 comments

Comments

@aaronfranke
Copy link

It would help with version control and viewing history (as this is GitHub...)

Splitting into multiple files is necessary in the long term, since the maximum file size is 100 MB.

@DanMan
Copy link

DanMan commented Nov 3, 2018

Agreed on the raw upload. One can give it a generic name then, too, without the date in it - easier to consume.

@bryanmr
Copy link

bryanmr commented Feb 20, 2019

This is an annoyance for me on the Steam library categorization script I am writing. I'd love for there to be a consistent file name to grab.

@DanMan
Copy link

DanMan commented Feb 21, 2019

@bryanmr This is hosted here but the reports are up to a month behind because that's how often dumps are released. Shout out to @maxpoulin64.

@bryanmr
Copy link

bryanmr commented Feb 21, 2019

@DanMan The raw JSON that is hosted there saves me from parsing the original files or having to put it up myself on Github, which now that I am thinking of it was the better option. :)

FYI, you can find the raw json file for ProtonDB on the page you linked, which is probably better than me having a script that hits the API a few thousand times in a few seconds whenever someone with a large library runs it.

@maxpoulin64
Copy link

@bryanmr Would an API that accepts many game IDs be helpful for your use case? That way you wouldn't need to download the whole JSON file and could do it in a single API request, so win win. If so open an issue on my GitHub page. Glad to see more people using it 🙂

I'll take the occasion to repeat my offer to build, host and maintain an official API so we don't need to work off monthly database dumps. I feel a month old is a lot and might not reflect the latest status of Proton, DXVK and Wine. All I need is sufficient access to set up a database slave on my server and take it on from there. I've jumped to Linux full time 12 years ago and would love to contribute to expanding the Linux gaming universe. This thread shows all the cool stuff people could build on top of the ProtonDB reports!

@bryanmr
Copy link

bryanmr commented Feb 22, 2019

@maxpoulin64 My current command to parse the JSON is jq -r '.[] | [.appId, .rating] | join(",")' and it just spits out a CSV with the ratings, which I count up to get the mean and mode. It's not object oriented or responsive, it just produces a config file for Steam to parse.

I'd assume that something like Enhanced Steam would be one of the good use cases, where you integrate the information into the store pages for games on what their ratings are. That would be a fun project, on top of the other ones I am wanting to do.

@DanMan
Copy link

DanMan commented Feb 23, 2019

FYI, you can find the raw json file for ProtonDB on the page you linked

I'm aware, it's why I posted it.

integrate the information into the store pages for games on what their ratings are

Way ahead of you. ;-)

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

4 participants