API_Easy

An Python Package for easily create APIs in Python

pip install easy-api-builder

Requiremnets: <= python 3.6

Required modules –> Flask

Documentation

Make an API and Docs with easy_api_builder

from easy_api_builder import EasyAPI

json = {
   "api_version": 0.1,
   "bot_version": 1.2.3
}

app = EasyAPI()
app.start(json, "<h1>Docs</h1>","Sitename", "siteDescription", "/")

The API runs on default localhost port 80 (localhost/)

You can replace the / with you path to the API Site.

The Docs can you find under localhost/docs

How to customize?

To customize the Documentation and error page, go in the package folder
and edit the index.html and the 404.html

GitHub

View Github