Please enable JavaScript.
Coggle requires JavaScript to display documents.
API (Start (// Paralel (%%input (...You say: %input #), // Button 1 (..…
API
Start
//API.AI
%%query
$SYS.GET
Authorization: Bearer 6d0d0417252c4766a605f113287c2486
ANSWER
%answ=result.fulfillment.speech
%raw
QUESTION
query=%query
sessionId=%uid
v=20150910
lang=ru
https://api.api.ai/v1/query
...Your answer: %answ
#
RAW: %raw
...Введи текст запроса
...Выбери запрос
// Bank course
$SYS.GET
ANSWER
%result=[cc=VND].rate
https://bank.gov.ua/NBUStatService/v1/statdirectory/exchange?json
...Answer is:%result
#
// OLD Ticker
%tr=/get USD.last
https://blockchain.info/ticker
...Answer is: %tr
#
// Complex
$SYS.GET
https://blockchain.info/ticker
...Raw response: %response
...USD: %usd
...AUD: %aud
#
ANSWER
%usd=USD.last
%aud=AUD.last
%response
// Old math var
%a=/get
http://api.mathjs.org/v1/
expr=round(random(10))
Answer is: %a
#
// SET
%a=0
%b=0
%c=0
calc
%b=date('h:i:s A')
%a=1
%a|%b|%c
#
// Paralel
%a=null
%b=null
%c=null
...%a | %b | %c
calc
%a=date('h:i:s A')
...%a | %b | %c
%b=%a
...%a | %b | %c
%c=Aloha
...%a | %b | %c
...Sey something or press button
%%input
...You say: %input
#
// Button 1
...You press button 1
#
// Button 2
...You press button 2
#
// ODB
%debt=null
$SYS.GET
ANSWER
%debt=warnings.[type=tax_debts].text
https://opendatabot.com/api/v1/fullcompany/32294926?apiKey=f6pE2TUpAj2E
?debt
У нас есть долг!
%debt
#
else
Долга нет
end
#
// Array search
%result=null
%s=asd
$SYS.GET
https://api.myjson.com/bins/m4byz
...Answer is:%result
#
ANSWER
%result=data.[var=%s].accusd