Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gutierri/bozbo

Fast Fake API for prototype with CFG setup
https://github.com/gutierri/bozbo

fake-api fake-api-json-server python python-rest

Last synced: about 1 month ago
JSON representation

Fast Fake API for prototype with CFG setup

Awesome Lists containing this project

README

        

===============
bozbo
===============

Fast Fake API with simple setup using CFG files.

Install and usage
===================
Install bozbo

.. code-block:: bash

$ pip3 install git+https://github.com/gutierri/bozbo

Create a file routes.cfg with:

.. code-block:: cfg

[my-endpoint]
methods = get
response = name
address

Running:

.. code-block:: bash

$ bozbo
Bottle v0.12.16 server starting up (using WSGIRefServer())...
Listening on http://localhost:8080/
Hit Ctrl-C to quit

To receive JSON response, just access **localhost:8080/my-endpoint**