GithubHelp home page GithubHelp logo

j-swift / cod-stats Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 10.0 799 KB

All-inclusive ETL pipeline to pull Modern Warfare statistics and generate statistical reporting for a playgroup

License: MIT License

Dockerfile 0.55% Makefile 6.27% Nix 0.71% TypeScript 13.41% Shell 43.67% HTML 2.82% JavaScript 28.09% CSS 4.47%

cod-stats's People

Contributors

j-swift avatar jswny avatar riversteve avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cod-stats's Issues

Question: regarding single game stats

I noticed in your app you've been able to get single game records (ie. most kills in a game, etc). Since this information isn't available in the API call for lifetime stats, MWBattleData I'm wondering where you were able to get that from. I'm able to get last 20 game stats from MWcombatwz but can't seem to find a working call to get EVERY match. It seems like you'd have to make a call for every single match a person has played and then find the highest number of kills, which seems costly, but not sure there's another way to do it. I'm wondering if you have just started logging each match in your DB as they are played and youre going off of that data or if you know of a way to get that data by other means. Thanks for any help!

NPM package capi-insights doesn't exist

It looks like one of the packages that this project depends on got taken down

Relevant Log Portion (make ensure-bootstrap)

Step 8/23 : RUN npm install
 ---> Running in f23971b5aa27
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/glob-5274c09f/sync.js'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/call-of-duty-api-84cc1453/config.json'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/glob-5274c09f/package.json'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/glob-5274c09f/changelog.md'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/glob-5274c09f/README.md'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/axios-cdfabe32/UPGRADE_GUIDE.md'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/@types/node-d582299e/dgram.d.ts'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/@types/node-d582299e/dns.d.ts'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/@types/node-d582299e/domain.d.ts'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/npm-normalize-package-bin-12b2d576/package.json'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/@types/node-d582299e/events.d.ts'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/npm-normalize-package-bin-12b2d576/README.md'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/dot_main'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/dot_slash_main'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/incorrect_main'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/multirepo'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/multirepo'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/quux'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/same_names/foo'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/without_basedir'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/mug.js'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/other_path'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/baz/quux.js'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/other_path'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/nested_symlinks/mylib/sync.js'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/multirepo'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/module_dir/zmodules/bbb/package.json'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/baz/package.json'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/browser_field/package.json'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/dot_main'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/dot_slash_main'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/incorrect_main'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/invalid_main'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/multirepo'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/multirepo'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/multirepo'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/nested_symlinks/mylib/package.json'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/symlinked/package/package.json'
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/capi-insights/-/capi-insights-1.0.1.tgz
npm ERR! 404
npm ERR! 404  '[email protected]' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'fetcher'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-10-02T18_23_48_616Z-debug.log
The command '/bin/sh -c npm install' returned a non-zero code: 1
Makefile:78: recipe for target 'docker-build-quiet' failed
make: *** [docker-build-quiet] Error 1

Full Log

joe@wingnut:/srv/cod-stats$ make ensure-bootstrap
Sending build context to Docker daemon  971.3kB
Step 1/23 : FROM alpine:latest
 ---> a24bb4013296
Step 2/23 : RUN apk add --no-cache --update --upgrade coreutils bash npm nodejs sqlite jq aws-cli rsync     && rm -rf /var/cache/apk/*     && mkdir /opt/app
 ---> Using cache
 ---> 0a2433a8298c
Step 3/23 : WORKDIR /opt/app
 ---> Using cache
 ---> ae87c529066d
Step 4/23 : ENV COD_DATADIR=/opt/data
 ---> Using cache
 ---> 3649cf93e3ed
Step 5/23 : VOLUME /opt/data
 ---> Using cache
 ---> 842e9e2917a1
Step 6/23 : WORKDIR /opt/app/fetcher
 ---> Using cache
 ---> 54d658031263
Step 7/23 : COPY fetcher/package.json fetcher/package-lock.json ./
 ---> Using cache
 ---> 7786e87e722d
Step 8/23 : RUN npm install
 ---> Running in f23971b5aa27
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/glob-5274c09f/sync.js'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/call-of-duty-api-84cc1453/config.json'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/glob-5274c09f/package.json'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/glob-5274c09f/changelog.md'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/glob-5274c09f/README.md'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/axios-cdfabe32/UPGRADE_GUIDE.md'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/@types/node-d582299e/dgram.d.ts'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/@types/node-d582299e/dns.d.ts'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/@types/node-d582299e/domain.d.ts'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/npm-normalize-package-bin-12b2d576/package.json'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/@types/node-d582299e/events.d.ts'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/npm-normalize-package-bin-12b2d576/README.md'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/dot_main'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/dot_slash_main'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/incorrect_main'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/multirepo'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/multirepo'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/quux'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/same_names/foo'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/without_basedir'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/mug.js'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/other_path'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/baz/quux.js'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/other_path'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/nested_symlinks/mylib/sync.js'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/multirepo'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/module_dir/zmodules/bbb/package.json'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/baz/package.json'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/browser_field/package.json'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/dot_main'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/dot_slash_main'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/incorrect_main'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/invalid_main'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/multirepo'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/multirepo'
npm WARN tar ENOENT: no such file or directory, lstat '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/multirepo'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/nested_symlinks/mylib/package.json'
npm WARN tar ENOENT: no such file or directory, open '/opt/app/fetcher/node_modules/.staging/resolve-7a0a65ba/test/resolver/symlinked/package/package.json'
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/capi-insights/-/capi-insights-1.0.1.tgz
npm ERR! 404
npm ERR! 404  '[email protected]' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'fetcher'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-10-02T18_23_48_616Z-debug.log
The command '/bin/sh -c npm install' returned a non-zero code: 1
Makefile:78: recipe for target 'docker-build-quiet' failed
make: *** [docker-build-quiet] Error 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.