How can I get the test cases from the api? #3348
Unanswered
Dimitar-04
asked this question in
Q&A
Replies: 3 comments
|
Hi, I think the public Codewars API doesn’t expose the full test cases, only metadata like description, tags, rank, and languages. The actual tests are intentionally not included to prevent solution cheating and kata scraping. |
0 replies
|
The Codewars API does not directly provide test cases. You can try to extract them from the HTML of the challenge page (while complying with the terms of service), or contact the Codewars team to inquire about official support options. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi guys,
I'm building a platform that generates a random coding challange daily. For this I use the codewars api which gives me a random challange from my solved challanges. But in the response the test cases aren't included. Is there a way i can also get the test cases?
All reactions