Public | Automated Build

Last pushed: 12 days ago
Short Description
Translate phrases into greatest hits of the summer.
Full Description

Adjetiveisor as a service

This service allows you to add some adjectives to your sentences. It uses adjetiveisor package.

You can find an implementation of this code on adjetiveisor.assa.services

Usage

Send your sentences by POST request to the different endpoints as a JSON object:

POST https://adjetiveisor.assa.services/puto

{"text": "el coche"}

You should get a response like this:

{
   "result": {
       "status": "OK",
       "code": 200,
       "count": 1
   },
   "data": [
       {
           "text": "el coche",
           "translation": "el puto coche",
           "translator": "puto"
       }
   ]
}

You can also check the translators available by GET request on /translators endpoint, and you should get an answer like this:

{
    "result": {
        "status": "OK",
        "code": 200,
        "count": 3
    },
    "data": [
        "jodido",
        "malpario",
        "maldito"
    ]
}

Endpoints

Right now these are the endpoints configured:

GET https://adjetiveisor.assa.services/translators


GET https://adjetiveisor.assa.services/puto

POST https://adjetiveisor.assa.services/puto


GET https://adjetiveisor.assa.services/jodido

POST https://adjetiveisor.assa.services/jodido


GET https://adjetiveisor.assa.services/malpario

POST https://adjetiveisor.assa.services/malpario


GET https://adjetiveisor.assa.services/maldito

POST https://adjetiveisor.assa.services/maldito

Docker Pull Command
Owner
assaservice
Source Repository

Comments (0)