diff --git a/README.md b/README.md index 14b97a5..92a61ca 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ npm i watchfox ```javascript const watchfox = require("watchfox") - + var wf = new watchfox("5780c40195ebd6e4e0aeca995f0665881fd0231e25c4dxxxxxxxxxxxxxxxxxxx") wf.fetch("123456789123456789").then(r => { console.log(r); @@ -22,18 +22,18 @@ wf.fetch("123456789123456789").then(r => { ``` You will get this json object as response ```json -{ - responseCode: 0, - data: { - score: [ +{ + "responseCode": 0, + "data": { + "score": [ 100, // Troll 100, // Raider 80 // Harasser - ], - flags: [ + ], + "flags": [ "Possibly Harasser" - ] - } + ] + } } ``` By default every user has a score of 100 on all fields, the more this value decreases, the higher the probability that this user acts in bad faith.