Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
The top voted solutions in JavaScript actually completely ignore this and just resort everything.
Makes me doubt the performance testing.
Just finished that one, it's an excellent challenge! :D
You're welcome!
Thanks Nolan! :-)
I totally understand and thank you so much for your help. I'll just make make use the api to display links to the katas a user has solved.
This was a small part of the project. We're also trying to make an Atom package that pulls the kata down from Codewars so that you can use the editor to complete the solution then push it back upto Codewars once complete.
Thanks once again for your help :-)
sorry, me again (last time I promise). Do you have an API key that gives all the finsihed solutions for a user? from the docs I thought the
authored
key did but neither theauthored
norcompleted
APIs give completed solution data.The plan for the project is to get all the completed katas from a user then automatically create a GitHub repo with all the solutions with a nicely formatted README.md page linking them all.
Thank you so, so, so, so much
http://www.codewars.com/api/v1/users/adrian.eyre/code-challenges/completed?access_key=4okdeUCSuvfPs6W9vqr5
worked.Now I get
{"data":[]}
fromhttp://www.codewars.com/api/v1/users/theoutlaw79/code-challenges/authored?access_key=zeyMSdT34P55qtK7pNpX
PS tell be to do one if you're really busy that you can help.
Hi there, thank you for your quick response.
I've tried
curl "http://www.codewars.com:3000/api/v1/users/theoutlaw79/code-challenges/completed?access_key=zeyMSdT34P55qtK7pNpX"
into an Apple terminal window and it returnscurl: (7) Failed to connect to www.codewars.com port 3000: Operation timed out
PStheoutlaw79
is my test account for the project. It timesout in a web browser also.Also tried
curl http://www.codewars.com/api/v1/users/theoutlaw79/code-challenges/authored?access_key=zeyMSdT34P55qtK7pNpX
Should this work?
Thanks once agian for your help.
Sorry for the direct approach, Im trying to use your codewars api for one of my final projects that needs to be in by this friday.
Is it functioning correctly? Im trying get an JSON object at
"http://www.codewars.com:3000/api/v1/users/some_user/code_challenges/authored"
replacingsome_user
withadrian.eyre
and adding?access_key=<my API key>
The request times out, i've searched high and low for solutions but cannot find any. I've tried typing the command into the command prompt, into a website and by using Ruby GET/POST statements.
Any help would be apreciated, even if its just to let me know its now working :-)
Thanks, Adi
Sorry about the mixedCase/camelCase error :-) and thanks for fixing.
Just had a look at the Ruby Rspec tutorial. I think its a great concept working along side the tutor. I found it a little annoying that my code was removed from the screen when the tutor started coding. I know it saves my code but it would be nice to see mine and the tutors code side by side to compare results as they are talking through their code.
Good luck with your project.
Adi
Cool, I'll take a look later thank you.
Someone 'solved' my kata like this. And i accidentally purposefully did like him. I was an idiot... xD
Loading more items...