GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - userbotindo/api-docs: API documentation

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 

Repository files navigation

Userbotindo API Service

Table of Contents

  • General API Information
  • Services
    • Spam Detetion
      • Predict
      • Preprocess
  • More Information

General API Information

  • All API endpoints base url are
https://api.userbotindo.com
  • All endpoints return a JSON Object

  • every endpoint uses API key for authentication. You can get the API key by sending /token to @dAnjani_bot on Telegram. API key is required to be sent as x-api-key header.

curl -X 'POST' \
  'https://api.userbotindo.com/<SERVICE_ENDPOINT>' \
  -H 'accept: application/json' \
  -H 'x-api-key: '<YOUR_API_KEY>' \
  -H 'Content-Type: application/json'
}'

Services

Spam Detection

Predict

Run a spam detection on the given text. This endpoint will do text preprocess first before running the spam detection. You don't need to call preprocess endpoint before calling this endpoint.

POST /v1/spam-detection/predict

Example request body:

{
  "text": "string"
}

Example response:

{
  "message": "successfuly done spam detection",
  "data": {
    "input_text": "string",
    "processed_text": "string",
    "text_length": 0,
    "word_count": 0,
    "language": {
      "language": "string",
      "probability": 0,
      "is_reliable": true
    },
    "prediction": {
      "is_spam": true,
      "ham_score": 0,
      "spam_score": 0
    },
    "error_code": "FAIL_ON_1"
  }
}

Preprocess

Run a text preprocess on the given text.

Note: If you're intended to run spam detection, NO NEED to call this endpoint. Spam detection endpoint will automatically run preprocess under the hood.

POST /v1/spam-detection/preprocess

Example request body:

{
  "text": "string"
}

Example response:

{
  "message": "successfuly done text preprocess",
  "data": {
    "input_text": "string",
    "processed_text": "string",
    "text_length": 0,
    "word_count": 0,
    "language": {
      "language": "string",
      "probability": 0,
      "is_reliable": true
    }
  }
}

More Information

  • Spam Detection Service Announcement
  • Userbotindo
  • Anjani

Privacy Policy

API Service complies with the Userbotindo Privacy Policy.

About

API documentation

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Used by

Contributors

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.