Skip to content

Leetcode plugin now working #1261

Answered by lowlighter
cloydlau asked this question in Q&A
Discussion options

You must be logged in to vote

Hi 👋 !

I enabled the plugin on the server so you should be able to use the leetcode plugin now 👍

These kind of errors occurs when a plugin is not enabled on the server's settings.json.
For metrics.lecoq.io, usually most token-base and api/cpu intensive plugins are disabled, but in this case it was just an oversight since I forgot to update the config file (the leetcode api doesn't require any token so it's fine to let anyone use this plugin).


As for leetcode.cn it is not supported currently, but if the GraphQL API is exactly the same as leetcode.com then it should be quite easy to implement and a PR would be welcome

One would needs to update plugins/leetcode/metadata.yml to add:

 plugin_…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by cloydlau
Comment options

You must be logged in to vote
1 reply
@lowlighter
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants