Skip to content

mrcingo/call

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Call

Making the creation of Restful API's easier and more cutom.

Current version: 0.0.1v-beta

You can use this code with total freedom.

Instalation

Clone:

git clone https://github.com/limbocingo/call.git

Go to the folder:

cd call/

Install:

pip install .

Example

import call

application = call.Application(__name__)

class Test(call.View):
    def __init__(self, request) -> None:
        super().__init__(request, '/test')

    def get(self) -> dict: return {'message': 'default-message'}

    def create(self) -> dict: return {'message': 'default-message'}

    def update(self) -> dict: return {'message': 'default-message'}

    def delete(self) -> dict: return {'message': 'default-message'}
 
if __name__ == '__main__':
  application.start()

About

Making the creation of Restful API's easier and more cutom.

Resources

License

Stars

Watchers

Forks

Languages