Skip to content

API untuk mendapatkan kata Bahasa Indonesia secara acak.

Notifications You must be signed in to change notification settings

herihermwn/Bahasa-Api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bahasa Rest API

API untuk mendapatkan kata Bahasa Indonesia secara acak

Install

pip3 install -r requiremetns.txt

Example Request

  • /check-words - (POST)
    Request body:

      {
          "word": "hari"
      }
    

    Response body:

      {
          "status": true,
          "message": "Kalimat terdapat pada Database"
      }
    
  • /words-by-length - (POST)
    Request body :

      {
          "length": 15,
          "max": 1000,
          "random": true
      }
    

    length : length of word
    max : max word list
    random : Unordered words

    Response body:

      {
          "status": true,
          "data": [
              {
                  "kata": "psikofarmakologi",
                  "jenis_kata": "Nomina"
              },
              ...
              ...
              {
                  "kata": "yakjuj wa makjuj",
                  "jenis_kata": "Nomina"
              }
          ]
      }
    

About

API untuk mendapatkan kata Bahasa Indonesia secara acak.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages