Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[documentation] eudic APIs that is used in this module #4

Open
junwei-wang opened this issue Oct 19, 2021 · 1 comment
Open

[documentation] eudic APIs that is used in this module #4

junwei-wang opened this issue Oct 19, 2021 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@junwei-wang
Copy link

Hi,

Thank you very much for providing such a go module.

Could you please give a list of APIs that are used in your module.
And/Or what is you reference for implementation this module.

Thanks in advance.

@k8s-ci-bot k8s-ci-bot added the documentation Improvements or additions to documentation label Oct 19, 2021
@la3rence
Copy link
Owner

la3rence commented Oct 23, 2021

Hi,
Very glad to hear from you. To be honest, the eudic does not provide the pubilc API of reciting words for developers - So I installed the eudic app locally and used a network packet sniffer to capture the private API on my own.
Actually this work is not completed done yet but the APIs are enough to use for myself.

And you can check out some code for these endpoints, like:

POST /api/v2/auth/authorize

https://github.com/Lonor/go-eudic/blob/ba680584ee0d110a67a45d984ed3665584d39b75/login.go#L7

All other endpoints now in this module includes:

https://github.com/Lonor/go-eudic/blob/1358f4515880dc0aa5909b98a323bde513652741/README.md#L11-L17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants