Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    The top voted solutions in JavaScript actually completely ignore this and just resort everything.

    Makes me doubt the performance testing.

  • Custom User Avatar

    Just finished that one, it's an excellent challenge! :D

  • Custom User Avatar
  • Default User Avatar
  • Custom User Avatar

    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 :-)

  • Custom User Avatar

    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 the authored nor completed 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.

  • Custom User Avatar

    Thank you so, so, so, so much http://www.codewars.com/api/v1/users/adrian.eyre/code-challenges/completed?access_key=4okdeUCSuvfPs6W9vqr5 worked.

  • Custom User Avatar

    Now I get {"data":[]} from http://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.

  • Custom User Avatar

    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 returns curl: (7) Failed to connect to www.codewars.com port 3000: Operation timed out PS theoutlaw79 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.

  • Custom User Avatar

    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" replacing some_user with adrian.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

  • Custom User Avatar

    Sorry about the mixedCase/camelCase error :-) and thanks for fixing.

  • Custom User Avatar

    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

  • Custom User Avatar

    Cool, I'll take a look later thank you.

  • Custom User Avatar

    Someone 'solved' my kata like this. And i accidentally purposefully did like him. I was an idiot... xD

  • Loading more items...