Comments (4)
I'm using the official warcraft logs api (https://www.warcraftlogs.com/v2-api-docs/warcraft/) roughly like this:
- Scan for new reports (GraphQL
Report
) every few minutes using the filtersstartTime
,endTime
andzoneId
- Only scan for reports that are at least 12 hours old to avoid still active live-logs
- Only include reports for relevant raids to reduce the required api calls
- Add all players within the matching reports into a update queue (including the information which raid was logged)
- Update the player logs (GraphQL
Character
) using thezoneRankings
- If the player is not known at all, do a full update (all raid for both 10 and 25 players)
- If the player is already known, do a partial update using the information from the queue (if a naxx25 report was scanned e.g. only update that)
Obviously thats a simplification, but should give a rough idea of my approach. The most important thing is reducing the number of api calls as far as possible and being a patreon for more api calls xD
from logtracker.
from logtracker.
If my server-side solution was more clean and documented I'd invite you in right away :D
Before sharing the code I would certainly have to make sure all my credentials are safe and at least the core workflows are documented, which is not an easy task. Especially the git publishing method is, well, let's call it not that sophisticated.
I'm currently at almost 1.5 million players and with my latest rework for update queues I expect it to double in the next 2-3 weeks.
Mind if I ask what issue made you work on your own grabber?
from logtracker.
from logtracker.
Related Issues (17)
- Make verison for WOTLK Classic Dont wow classic, for curseforge updater
- Not loading logs for BT/Hyjal on some characters, mostly death knights (WOTLK)
- Lua errors just being in dalaran HOT 1
- Export missing Data HOT 1
- Addon not working. HOT 1
- Add options for what to display in tooltip HOT 2
- [Bug] "LFG-Integration" does not appear to be working? HOT 1
- old/missing log data & tooltip misalignment HOT 14
- Chat integration ignores "Hide XX-player logs" checkbox
- LogTracker_CharacterData_US - Updates HOT 2
- Log-Updates not working HOT 11
- Disable Shift Notifications HOT 2
- getting this when hovering over certain players
- TOGC Update?
- Not Updating
- Option for adding your own WCL API Key? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logtracker.