Skip to content

A puppet used to encapsulate OpenAPI. #27

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() .

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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