How can I get the test cases from the api? #3348
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. |
Beta Was this translation helpful? Give feedback.
-
|
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. |
Beta Was this translation helpful? Give feedback.
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?
Beta Was this translation helpful? Give feedback.
All reactions