forked from CSGOWTF/csgowtf
working on economy graph
This commit is contained in:
@@ -54,3 +54,15 @@ export const TrackMe = async (id64, authcode, sharecode) => {
|
||||
|
||||
return [status, statusError]
|
||||
}
|
||||
|
||||
export const getPlayerValue = async (match_id) => {
|
||||
try {
|
||||
const res = await axios.get(`${API_URL}/match/${match_id}/rounds`)
|
||||
|
||||
if (res.status === 200) {
|
||||
return res.data
|
||||
}
|
||||
} catch (err) {
|
||||
console.log(err.response.status, err.response.statusText)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user