|
|
|
**(GET)** Mendapatkan statistik dari seluruh daftar pertanyaan
|
|
|
|
|
|
|
|
## URI
|
|
|
|
```
|
|
|
|
/statistic
|
|
|
|
```
|
|
|
|
|
|
|
|
## Contoh
|
|
|
|
### Request
|
|
|
|
```
|
|
|
|
import requests
|
|
|
|
|
|
|
|
url = "http://127.0.0.1:5000/statistic"
|
|
|
|
|
|
|
|
response = requests.request("GET", url)
|
|
|
|
|
|
|
|
print(response.text)
|
|
|
|
```
|
|
|
|
### Hasil
|
|
|
|
```
|
|
|
|
{
|
|
|
|
"question_active": 585,
|
|
|
|
"message": "sucessfully retrieve statistic",
|
|
|
|
"question_duplicate": 1,
|
|
|
|
"question_raw": 588
|
|
|
|
}
|
|
|
|
``` |
|
|
\ No newline at end of file |