Skip to content

A puppet used to encapsulate OpenAPI. #27

@atorber

Description

@atorber

Is your feature request related to a problem? Please describe.

Recently, I learned wechaty openapi, which is a very exciting feature. When I saw it, I was thinking about how to use it.

As a serious SDK dependency, I suggest that we encapsulate the API call method into a puppet, such as puppet-http or puppet-api, so that we can fully use Wechaty instances in another stateless service to call all the above APIs instead of a separate SDK.

Like this, when I want to call the API request GET /contacts, I will use const contactList = await bot.Contact.findAll() .

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions