GithubHelp home page GithubHelp logo

codewars / codewars-api-docs Goto Github PK

View Code? Open in Web Editor NEW
23.0 23.0 11.0 534 KB

Codewars API v1 Docs

Home Page: https://dev.codewars.com/

License: Apache License 2.0

JavaScript 91.88% HTML 0.98% Shell 0.23% SCSS 6.90%
docs

codewars-api-docs's People

Contributors

augustshultz avatar bootstraponline avatar chrissrogers avatar cored avatar cthornton avatar dan-nolan avatar jhoffner avatar kazk avatar lord avatar mdlima avatar rlord avatar spacebison avatar stetzer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

codewars-api-docs's Issues

Question regarding completedAt field

IMG_4431

when requesting the solved challenges of a user.
We see that there is only one completedAt in the data. But the challenge is solved in multiple languages.

is this the date of the first given solution? Can we get the language that was used for that submission?

API key expires

I have been experiencing some problems using the Codewars API key; it seems to expire after about an hour meaning that I cannot make any authenticated requests until I refresh my account settings page. Once refreshed, the API key remains exactly the same and the authenticated requests are successful.

Two broken/deleted api endpoints?

I was trying to make api calls to these two endpoints but they don't seem to be working:

  • GET completed code challenges for a given user
    • curl "http://www.codewars.com:3000/api/v1/users/some_user/code_challenges/completed"
  • GET attempted code challenges for a given user
    • curl "http://www.codewars.com:3000/api/v1/users/some_user/code_challenges/authored"

I tried with and without the port 3000 inside the urls but no luck either way. I'm not sure if these endpoints have just been renamed or deleted but, either way, it might be good to update the api docs.

Thanks!

Improve API V1 / Status of V2

Hello,
I would like to know if there is a possibility to help with the API v1. I love codewars.com and would like to improve the API. I want to build a page which will be used in my company to challenge my collegues. I am happy to improve the API v1 or create/finish V2. Are there any possibilities to achieve that?

I got some error response when I use codewars api

When I type this:
curl https://www.codewars.com/api/v1/users/no13bus
I do not get some data like this:

{
    "username": "some_user",
    "name": "Some Person",
    "honor": 544,
    "clan": "some clan",
    "leaderboardPosition": 134,
    "skills": [
        "ruby",
        "c#",
        ".net",
        "javascript",
        "coffeescript",
        "nodejs",
        "rails"
    ],
    "ranks": {
        "overall": {
            "rank": -3,
            "name": "3 kyu",
            "color": "blue",
            "score": 2116
        },
        "languages": {
            "javascript": {
                "rank": -3,
                "name": "3 kyu",
                "color": "blue",
                "score": 1819
            },
            "ruby": {
                "rank": -4,
                "name": "4 kyu",
                "color": "blue",
                "score": 1005
            },
            "coffeescript": {
                "rank": -4,
                "name": "4 kyu",
                "color": "blue",
                "score": 870
            }
        }
    },
    "codeChallenges": {
        "totalAuthored": 3,
        "totalCompleted": 230
    }
}

But I get these data:

{"data":[{"id":"5265326f5fda8eb1160004c8","name":"Convert a Number to a String!","slug":"convert-a-number-to-a-string","completedLanguages":["python"],"completedAt":"2014-10-17T01:39:08Z"},{"id":"53d32bea2f2a21f666000256","name":"Largest Elements","slug":"largest-elements","completedLanguages":["python"],"completedAt":"2014-10-16T15:36:32Z"},{"id":"540de1f0716ab384b4000828","name":"Unpacking Arguments","slug":"unpacking-arguments","completedLanguages":["python"],"completedAt":"2014-10-16T15:27:55Z"},{"id":"5390bac347d09b7da40006f6","name":"Jaden Casing Strings","slug":"jaden-casing-strings","completedLanguages":["python"],"completedAt":"2014-10-16T13:21:29Z"},{"id":"50654ddff44f800200000001","name":"Broken Greetings","slug":"broken-greetings","completedLanguages":["python"],"completedAt":"2014-10-16T12:49:59Z"},{"id":"50654ddff44f800200000004","name":"Multiply","slug":"multiply","completedLanguages":["python"],"completedAt":"2014-10-16T12:13:52Z"}]}

why??

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.