jakejrichards / cod-api Goto Github PK
View Code? Open in Web Editor NEWA thin Call of Duty API wrapper written in TypeScript
License: MIT License
A thin Call of Duty API wrapper written in TypeScript
License: MIT License
please make one for call of duty mobile
Is there an endpoint we can implement to get all historical matches?
I'd be happy to contribute to the project. How can I find all the cod endpoints available?
I found this endpoint - I didn't see it listed in b04.ts:
${BO4_ENDPOINT}/platform/${platform}/gamer/${username}/matches/zombies/start/0/end/0
It seems to return the metadata for all matches, instead of just the details of 20 within a time range you specify.
๐ค Maybe useful?
To use I had to add fetch to cod-api/index.js:
const fetch = require('node-fetch');
Hi,
Is there a way to get the zombies challenges with the API ?
Hello!
We've recently looked into your module, and it looks amazing. One thing that puzzled me is the fact that typescript
is a dependency (not a dev-dependency).
Any reason for that decision?
Thanks!
Hi!
Is it possible to have also a api call for the stats from bo4 soon?
how can i get blackout matches data?
Looks like MW is availalable through the API.
Example Requests -
https://my.callofduty.com/api/papi-client/crm/cod/v2/title/mw/platform/battle/gamer/Gazreyn%232546/profile?type=mp
Requires Authentication: https://my.callofduty.com/api/papi-client/crm/cod/v2/title/mw/platform/battle/gamer/Gazreyn%232546/matches/mp/start/0/end/0/details
It's a little out of scope of what you can do on your end, but it looks like Treyarch's API is starting to require some sort of authorization.
Murmurs on Twitter seem to suggest that you need a cookie or authorization header to complete API calls now:
https://twitter.com/ErikPetersenDev/status/1101592944426053632
https://twitter.com/xSevithx/status/1101650891294285825
I'll keep my eyes out for whatever the solution to this problem is...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.