Skip to content
This repository was archived by the owner on Nov 20, 2023. It is now read-only.

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

epis-programy

Programy API for Epis Bot

Hosting on Heroku

Installations

  1. Install requirements from requirements.txt:
  • pip install -r requirements.txt
  1. Edit files in './config'.
  2. Run:
  • python main.py

Usage

Request the API:

import requests
api = requests.get(f'http://epis-programy.herokuapp.com/context/<random_string>/question/[<question>]')

Get response:

if api.status_code == 200:
 load = api.json()
 response = load['success']
 print(response)

Args:

  • random_string: a conversation id will keep the answer follow the conversation
  • question: a question to ask

About

Programy API for Epis Bot

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages