Skip to content

External Pannous

Keith Sterling edited this page Sep 22, 2017 · 1 revision

Overview

This service provides access to the Pannous Bot API which is described in full detail at Pannous website

Configuration

In terms of configuration, all that is required is the following options added to the services section of config.yaml

    services:
            classname: programy.services.pannous.PannousService
            url: http://weannie.pannous.com/api

In addition the following addition to license.keys is required

PANNOUS_LOGIN = XXXXXXXXXXX

Where XXXXXXXXXXX is the userid you obtained by registering with the Pannous service

Usage

in terms of using Pannous service, the following AIML will call Pandora bot and display the response given

<category>
    <pattern>WHAT DO YOU KNOW ABOUT *</pattern>
    <template>
        <sraix service="pannous">WHAT IS <star/></sraix>
    </template>
</category>
Clone this wiki locally