Comments (2)
@martinmiglio Are you after an endpoint that just returns the current patch and nothing else?
We update the tarkov.dev
website when each wipe come outs by just adding a new value to the following JSON file that can be viewed here -> https://github.com/the-hideout/tarkov-dev/blob/dff6012feeebe44aa629ef8970b1a4c3421623e2/src/data/wipe-details.json
You could possibly write some code that does the following:
- Fetches this file every so often
- Caches the results of this file somewhere within the system you are building
- Sort the JSON contents by the wipe's start
- Get the most recent value
Hopefully that helps!
It would also be pretty darn easy to include this data somewhere without our GraphQL API if it is not there already.
from tarkov-api.
That is absolutely what I'm after, thank you.
Given it is this accessible, I'm not sure its necessary to add to the GraphQL API, although it may make sense for other use cases.
from tarkov-api.
Related Issues (20)
- Cannot retrieve ammo.initialSpeed on pre-wipe explosive ammo. HOT 1
- HandbookCategories returns duplicate children. HOT 1
- Many objectives missing maps HOT 2
- Add failed quests property to Tasks HOT 1
- Add GPS data for TD maps to API HOT 2
- Inconsistent return type on empty Barter.requiredItems.attributes & Barter.rewardItems.attributes. HOT 1
- Currency used for x item HOT 2
- Feature Request
- '5.45x39mm PPBS gs "Igolnik"' Ammo Issue HOT 1
- Server Status Region HOT 1
- Error retrieving trader barters. HOT 1
- Inconsistent Server Status HOT 3
- Inconsistent naming convention in ItemCategories Key Mechanical data HOT 5
- Issue with query results: Incorrect kappaRequired value for "Capturing Outposts" task HOT 1
- Incorrect data being returned in taskRequirements HOT 2
- Add New Armor System Info
- Add ability to pull player stats HOT 4
- Unable to retrieve task objective/item count HOT 1
- lang: zh make no effect. HOT 9
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 tarkov-api.