The feature
I made a workflow for callfilter via there free api: https://api.callfilter.app/apis-readme.html
API Key has be requested via E-Mail (took about a week for me): https://forum.callfilter.app/threads/api-question.99/#post-231
The return value for the category is a number between 1-8 and is mapped according to the documentation there. It would be nice if I could map this number to the human readable category name.
Here is the workflow, of course the [API-KEY] has to be replaced by a personal api key:
{
"id": 6,
"desc": "CallFilter API",
"actions": [
{
"type": "ParseIncomingNumber",
"numberFilter": ".*"
},
{
"type": "HttpDownload",
"method": 0,
"url": "https://api.callfilter.app/apis/[API-KEY]/1/{number}",
"header": "",
"body": ""
},
{
"type": "ParseQueryResult",
"negativeSig": "\"blocked\":1",
"negativeFlags": 5,
"positiveSig": "\"blocked\":0",
"positiveFlags": 5,
"categorySig": "\"cat\":(\\d)",
"categoryFlags": 5
},
{
"type": "FilterSpamResult"
},
{
"type": "ImportToSpamDB",
"importReason": "Manually"
}
],
"enabled": true
}
One reason is this is language independent, the existing workflow for the wiki will not work if the ip of the user is in a non-english speaking country, since the website returned is in the local language.
The feature
I made a workflow for callfilter via there free api: https://api.callfilter.app/apis-readme.html
API Key has be requested via E-Mail (took about a week for me): https://forum.callfilter.app/threads/api-question.99/#post-231
The return value for the category is a number between 1-8 and is mapped according to the documentation there. It would be nice if I could map this number to the human readable category name.
Here is the workflow, of course the [API-KEY] has to be replaced by a personal api key:
One reason is this is language independent, the existing workflow for the wiki will not work if the ip of the user is in a non-english speaking country, since the website returned is in the local language.