Update README.md
This commit is contained in:
committed by
GitHub
parent
92eff92f11
commit
5beafb858e
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user