Spanish Total.js
Italiano
Documentazione Per agenti IA
Indice

Total.js API

Componenti che chiamano i servizi di Total.js API con il tuo token.

.md GitHub
In questa pagina

Componenti che chiamano i servizi di Total.js API con il tuo token. Questa pagina contiene i gruppi del catalogo Total.js API Services, Total.js API.

Ogni voce elenca gli ingressi e le uscite del componente, le sue impostazioni principali e il testo del suo readme. Per aggiungere un componente a un FlowStream, consulta Scaricare i componenti.

API

component

tapicaptchaapi.html · version 1

Genera un captcha come immagine JPEG con Total.js API.
ParametroTipoDescrizione
token? String Token API.
path? String Percorso da cui leggere i dati in ingresso.
width? Number Larghezza. Predefinito: 200
height? Number Altezza. Predefinito: 80
dark? Boolean Modalità scura. Predefinito: false

Ingressi: input (Input).

Uscite: output (Output), error (Error).

Il generatore di immagini captcha crea una semplice immagine JPEG. Usa la Total.js Weather API.

Dati in ingresso:

// {String} Captcha text
'123456'

Dati in uscita:

// Returns DataURI
'data:image/jpeg;base64,/9j/4AAQSkZ...''
component

tapichatgptapi.html · version 1

Fa domande a ChatGPT tramite Total.js API.
ParametroTipoDescrizione
token? String Token API.
path? String Percorso da cui leggere i dati in ingresso.
output? String Uscita. Una tra: text (Text), image (Image). Predefinito: text
size? String Dimensione. Una tra: small (Small), medium (Medium), large (Large). Predefinito: small
response? String Tipo di risposta. Uno tra: buffer (Buffer), base64 (Base64), datauri (DataURI). Predefinito: buffer

Ingressi: input (Input).

Uscite: output (Output), error (Error).

Con questo componente puoi fare domande a ChatGPT / OpenAPI. Usa la Total.js ChatGPT API.

Dati in ingresso:

// {String} a question for ChatGPT
'What is Total.js Platform'

Dati in uscita:

Se output è impostato su Text:

{
    text: 'Total.js Platform is a web development platform that provides a comprehensive set of tools and modules for building modern, scalable, and high-performance web applications. It is based on the Node.js runtime and offers a seamless development experience with a powerful, intuitive, and easy-to-use framework. Total.js Platform includes features such as database integration, real-time communication, server-side rendering, RESTful API support, and more. It also supports various front-end technologies and integrates seamlessly with popular third-party libraries and services, making it a great choice for building full-stack web applications.'
}

Se output è impostato su Image:

Restituisce i dati in base al Response type della configurazione del componente. Può essere Buffer, Base64 o DataURI.

component

tapicheckapi.html · version 1

Restituisce lo stato attuale del tuo token di Total.js API.
ParametroTipoDescrizione
token? String Token API.

Ingressi: input (Input).

Uscite: output (Output), error (Error).

Restituisce lo stato attuale del tuo token. Usa la Total.js Check API.

Dati in uscita:

{
    credits: 34.49
}
component

tapicheckvatapi.html · version 1

Controlla se un'azienda dell'Unione Europea è soggetta a IVA, con Total.js API.
ParametroTipoDescrizione
token? String Token API.
path? String Percorso da cui leggere i dati in ingresso.

Ingressi: input (Input).

Uscite: output (Output), error (Error).

Determina se un'azienda è soggetta a IVA o no. Funziona solo nell'Unione Europea. Usa la Total.js Check VAT API.

Dati in ingresso:

// {String} VAT ID
'SK2120417167'

Dati in uscita:

{
    is: true, // Is VAT Payer?
    vat: 20,  // Country VAT
    name: 'Total Avengers s. r. o.',
    address: 'Viestova 6784/28\n97401 Banská Bystrica\nSlovensko'
}
component

tapiexchangeratesapi.html · version 1

Legge i tassi di cambio con Total.js API.
ParametroTipoDescrizione
token? String Token API.
currency? String Valuta. Predefinito: EUR
path? String Percorso da cui leggere i dati in ingresso.

Ingressi: input (Input).

Uscite: output (Output), error (Error).

Legge i tassi di cambio. Usa la Total.js Exchangerates API.

Dati in ingresso:

// {String} Date, optional input default is current date
"2020-12-12"

Dati in uscita:

{
    USD: 1.2109,
    JPY: 126.05,
    BGN: 1.9558,
    CZK: 26.239,
    DKK: 7.4429,
    GBP: 0.9,
    HUF: 356.64,
    PLN: 4.4246,
    RON: 4.8685,
    SEK: 10.2745,
    CHF: 1.0764,
    ISK: 153.5,
    NOK: 10.5763,
    HRK: 7.549,
    RUB: 89.167,
    TRY: 9.4762,
    AUD: 1.6185,
    BRL: 6.1993,
    CAD: 1.5472,
    CNY: 7.9167,
    HKD: 9.3866,
    IDR: 17078,
    ILS: 3.9406,
    INR: 89.212,
    KRW: 1314.27,
    MXN: 23.9187,
    MYR: 4.9196,
    NZD: 1.7103,
    PHP: 58.298,
    SGD: 1.6174,
    THB: 36.388,
    ZAR: 18.0756
}
component

tapiconvertapi.html · version 1

Converte un file in un altro tipo di file con Total.js API.
ParametroTipoDescrizione
token? String Token API.
path? String Percorso da cui leggere i dati in ingresso.
to? String Converti in. Uno tra: pdf (PDF), jpg (JPG), png (PNG). Predefinito: pdf
output? String Tipo di risposta. Uno tra: buffer (Buffer), base64 (Base64), datauri (DataURI). Predefinito: buffer

Ingressi: input (Input).

Uscite: output (Output), error (Error).

Converte un file in un altro tipo di file. Usa la Total.js Convert API.

Dati in ingresso:

// {String} dataURI of a file
"data:application/pdf;base64,JVBERi0xLjcN..."

Dati in uscita:

Restituisce i dati in base al Response type della configurazione del componente. Può essere Buffer, Base64 o DataURI.

component

tapigeoipapi.html · version 1

Legge la posizione di un indirizzo IP con Total.js API.
ParametroTipoDescrizione
token? String Token API.
path? String Percorso da cui leggere i dati in ingresso.

Ingressi: input (Input).

Uscite: output (Output), error (Error).

Legge le informazioni geografiche di un indirizzo IP. Usa la Total.js GEO IP API.

Dati in ingresso:

// {String} IP address
"78.98.116.204"

Dati in uscita:

{
    ip: '78.98.95.176',
    isp: 'Slovak Telekom, a.s.',
    country: 'Slovakia',
    country_code: 'SK',
    region: 'Banska Bystrica',
    region_code: 'BC',
    city: 'Banská Bystrica',
    zip: '974 01',
    continent: 'Europe',
    continent_code: 'EU',
    lat: 48.804,
    lng: 19.1363,
    timezone: 'Europe/Bratislava'
}
component

tapiinvoiceparserapi.html · version 1

Legge i dati di una fattura da un file PDF, JPG o PNG con Total.js API.
ParametroTipoDescrizione
token? String Token API.
path? String Percorso da cui leggere i dati in ingresso.

Ingressi: input (Input).

Uscite: output (Output), error (Error).

Estrae i metadati della fattura da un file PDF/JPG/PNG. Usa la Total.js Invoiceparser API.

Dati in ingresso:

// {String} dataURI of a file
"data": "data:application/pdf;base64,JVBERi0xLjcN..."

Dati in uscita:

{
    supplier: {
        address: 'Nádražní 44/86 15000 Praha 5',
        name: 'DRONPRO',
        vatid: 'CZ04587332'
    },
    customer: {
        name: 'TOTAL AVENGERS S.R.O.',
        address: 'Viestova 6784/28 97401 Banská Bystrica, Slovakia',
        vatid: 'SK2120417167'
    },
    date: '2023-07-17',
    number: '23ES04414',
    amount: 3445.46,
    total: 3445.46,
    currency: 'CZK',
    language: null,
    tax: 0
}
component

tlogger.html · version 2

Registra i messaggi in arrivo nel Total.js Cloud Logger.
ParametroTipoDescrizione
token? String Token di Total API.
type? String Tipo. Uno tra: info (Info), error (Error), warning (Warning), success (Success). Predefinito: info
message? String Messaggio.
reference? String Riferimento.
url? String Indirizzo URL.
app? String Nome dell'app.

Ingressi: input (Input).

Uscite: nessuna.

Il componente registra i messaggi in arrivo nel Total.js Cloud Logger.

component

tapiocrapi.html · version 1

Legge il testo di file JPG, PNG o PDF con Total.js API.
ParametroTipoDescrizione
token? String Token API.
path? String Percorso da cui leggere i dati in ingresso.
language? String Lingua. Predefinito: eng

Ingressi: input (Input).

Uscite: output (Output), error (Error).

Lettore OCR per file JPG, PNG o PDF. Usa la Total.js OCR API.

Dati in ingresso:

// {String} dataURI of a file
"data:image/png;base64,iVBORw0KGgo....."

Dati in uscita:

{
    text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do...'
}
component

tapiplatenumber.html · version 1

Legge il numero di targa di un veicolo da un'immagine JPG o PNG con Total.js API.
ParametroTipoDescrizione
token? String Token API.
path? String Percorso da cui leggere i dati in ingresso.
code? String Codice del paese. Uno tra: eu (EU), us (US). Predefinito: eu
first? Boolean Restituisci solo il primo valore. Predefinito: false

Ingressi: input (Input).

Uscite: output (Output), error (Error).

Estrae il numero di targa da un'immagine JPG/PNG. Usa la Total.js Platenumber API.

Dati in ingresso:

// {String} dataURI of an image
'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEB....'

Dati in uscita:

[
  {
    "value": "H786P0J",
    "confidence": 89.8356
  },
  {
    "value": "H786POJ",
    "confidence": 87.6114
  },
  {
    "value": "HN786P0J",
    "confidence": 85.2152
  }
]
component

tapiprintapi.html · version 1

Stampa HTML o un indirizzo URL in un file PDF, JPG, PNG o DOCX con Total.js API.
ParametroTipoDescrizione
token? String Token API.
path? String Percorso da cui leggere i dati in ingresso.
type? String Tipo. Uno tra: pdf (PDF), jpg (JPG), png (PNG), docx (DOCX). Predefinito: pdf
page? String Pagina. Predefinito: A4
width? Number Larghezza. Predefinito: 0
height? Number Altezza. Predefinito: 0
dpi? Number DPI. Predefinito: 96
top? Number Margine superiore. Predefinito: 0
right? Number Margine destro. Predefinito: 0
bottom? Number Margine inferiore. Predefinito: 0
left? Number Margine sinistro. Predefinito: 0
viewport? String Viewport. Uno tra: xs (XS), sm (SM), md (MD), lg (LG).
quality? Number Qualità. Predefinito: 80
orientation? String Orientamento. Uno tra: portrait (Portrait), landscape (Landscape). Predefinito: portrait
grayscale? Boolean Scala di grigi. Predefinito: false
lowquality? Boolean Bassa qualità. Predefinito: false
zoom? Number Zoom. Predefinito: 100
output? String Tipo di risposta. Uno tra: buffer (Buffer), base64 (Base64), datauri (DataURI). Predefinito: buffer

Ingressi: input (Input).

Uscite: output (Output), error (Error).

Stampa HTML o un indirizzo URL in un file PDF, JPG, PNG o DOCX. Usa la Total.js Print API.

Dati in ingresso:

// {String} HTML content or URL address
'<h1>HTML content</h1>'

Dati in uscita:

Restituisce i dati in base al Response type della configurazione del componente. Può essere Buffer, Base64 o DataURI.

component

sms.html · version 1

Invia un SMS.
ParametroTipoDescrizione
token? String Token di Total API.
to? String A.
from? String Da.
body? String Messaggio.
isdata? Boolean Invia solo i dati del messaggio in arrivo. Predefinito: false
path? String Percorso da cui leggere il messaggio.

Ingressi: input (Input).

Uscite: nessuna.

Il componente invia un messaggio SMS.

component

tapismsapi.html · version 1

Invia un SMS con Total.js API.
ParametroTipoDescrizione
token? String Token API.
from? String Da.

Ingressi: input (Input).

Uscite: output (Output), error (Error).

Con questo componente puoi inviare SMS. Usa la Total.js SMS API.

Dati in ingresso:

{
    to: "+421903163302",
    body: "Your message ..."
}

Dati in uscita:

{ success: true }
component

tapiweatherapi.html · version 1

Legge il meteo attuale di un indirizzo con Total.js API.
ParametroTipoDescrizione
token? String Token API.
path? String Percorso da cui leggere i dati in ingresso.

Ingressi: input (Input).

Uscite: output (Output), error (Error).

Con questo componente puoi ottenere il meteo attuale di un indirizzo. Usa la Total.js Weather API.

Dati in ingresso:

// {String} address without diacritics
'Banska Bystrica, Slovakia'

Dati in uscita:

{
    name: 'Bratislava',
    temperature: 22,
    wind: 20.2,
    humidity: 65,
    pressure: 1018,
    cloud: 25,
    uv: 6,
    sky: 'Partly cloudy'
}
Fatto in Europa