codewars / codewars-api-docs Goto Github PK
View Code? Open in Web Editor NEWCodewars API v1 Docs
Home Page: https://dev.codewars.com/
License: Apache License 2.0
Codewars API v1 Docs
Home Page: https://dev.codewars.com/
License: Apache License 2.0
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??
There's no mention of API limits at https://dev.codewars.com/#introduction.
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!
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 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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.