dev.codewars.comCodewars API Reference
dev.codewars.com Profile
dev.codewars.com
Maindomain:codewars.com
Title:Codewars API Reference
Description:API Reference The Codewars API is organized around REST Our API is designed to have predictable resource-oriented URLs and to use HTTP response codes to indicate API errors We use built-in HTTP features like HTTP authentication and HTTP verbs JSON will be returned in all responses from the API including errors Authentication
Discover dev.codewars.com website stats, rating, details and status online.Use our online tools to find owner and admin contact info. Find out where is server located.Read and write reviews or vote to improve it ranking. Check alliedvsaxis duplicates with related css, domain relations, most used words, social networks references. Go to regular site
dev.codewars.com Information
Website / Domain: |
dev.codewars.com |
HomePage size: | 38.473 KB |
Page Load Time: | 0.137291 Seconds |
Website IP Address: |
104.26.13.79 |
Isp Server: |
CloudFlare Inc. |
dev.codewars.com Ip Information
Ip Country: |
Singapore |
City Name: |
Singapore |
Latitude: |
1.2896699905396 |
Longitude: |
103.85006713867 |
dev.codewars.com Keywords accounting
dev.codewars.com Httpheader
Date: Wed, 18 Mar 2020 19:44:20 GMT |
Content-Type: text/html; charset=utf-8 |
Transfer-Encoding: chunked |
Connection: keep-alive |
Set-Cookie: __cfduid=d11a8d5a89207cbec0d0b6944adbf831d1584560660; expires=Fri, 17-Apr-20 19:44:20 GMT; path=/; domain=.codewars.com; HttpOnly; SameSite=Lax; Secure |
Last-Modified: Wed, 27 Mar 2019 22:07:25 GMT |
Access-Control-Allow-Origin: * |
Expires: Wed, 18 Mar 2020 19:54:20 GMT |
Cache-Control: max-age=600 |
X-Proxy-Cache: MISS |
X-GitHub-Request-Id: 3834:10EC:36FD8:3DCAD:5E727A13 |
Via: 1.1 varnish |
Age: 0 |
X-Served-By: cache-sjc10044-SJC |
X-Cache: MISS |
X-Cache-Hits: 0 |
X-Timer: S1584560660.460467,VS0,VE33 |
Vary: Accept-Encoding |
X-Fastly-Request-ID: e02d5c573a4d540a5593da4941656654cafecfae |
CF-Cache-Status: DYNAMIC |
Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" |
Server: cloudflare |
CF-RAY: 5761729f6e3e6e2a-SJC |
Content-Encoding: gzip |
dev.codewars.com Meta Info
charset="utf-8"/ |
content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/ |
104.26.13.79 Domains
dev.codewars.com Similar Website
Domain |
WebSite Title |
dev.codewars.com | Codewars API Reference |
apidocs.tankutility.com | API Reference |
itransact.com | iTransact API Reference |
api.plugshare.com | PlugShare API Reference |
dev.passkit.net | PassKit v2 API Reference |
developers.upwork.com | Upwork API Reference |
dev.frontapp.com | Front API Reference |
apidocs.instagift.com | Instagift API Reference |
api.highcharts.com | Highcharts JS API Reference |
developers.quoine.com | Quoine Exchange API Reference |
api.daypilot.org | DayPilot Pro JavaScript API Reference |
api.drupal.org | Drupal 8.8.x | API reference | Drupal API |
docs.botframework.com | Azure Bot Service Documentation - Tutorials, API Reference - Bot Service | Microsoft Docs |
onsitetraining.atlasapitraining.com | API Onsite Training for API 610, 570, 580, 653, 1169 - Atlas API Training |
codewars.com | Train with Programming Challenges/Kata | Codewars |
dev.codewars.com Traffic Sources Chart
dev.codewars.com Alexa Rank History Chart
dev.codewars.com Html To Plain Text
Documentation Powered by Slate API Reference The Codewars API is organized around REST. Our API is designed to have predictable, resource-oriented URLs and to use HTTP response codes to indicate API errors. We use built-in HTTP features, like HTTP authentication and HTTP verbs. JSON will be returned in all responses from the API, including errors. Authentication To authorize, use this code: # With shell, you can just pass the correct header with each request curl "api_endpoint_here" \ -H "Authorization: some-api-key" Make sure to replace some-api-key with your API key. Codewars uses API access keys to allow access to restricted endpoints. Access keys are specific to a user account and can be found by navigating to your Account Settings ( https://www.codewars.com/users/edit ). Codewars expects for the API access key to be included in most API requests. It can be included either via a header: Authorization: some-api-key or by passing it as a parameter: ?access_key=some-api-key You must replace some-api-key with your personal API key found within your account settings. REST API Our REST API can be used to retrieve information about users and code challenges (kata). GET User curl "https://www.codewars.com/api/v1/users/some_user" { "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 } } This endpoint returns information about a specific user. HTTP REQUEST https://www.codewars.com/api/v1/users/:id_or_username GET User: Completed Challenges curl "http://www.codewars.com/api/v1/users/some_user/code-challenges/completed?page=0" { "totalPages" : 1 , "totalItems" : 1 , "data" : [{ "id" : "514b92a657cdc65150000006" , "name" : "Multiples of 3 and 5" , "slug" : "multiples-of-3-and-5" , "completedAt" : "2017-04-06T16:32:09Z" , "completedLanguages" :[ "javascript" , "coffeescript" , "ruby" , "javascript" , "ruby" , "javascript" , "ruby" , "coffeescript" , "javascript" , "ruby" , "coffeescript" ] }] } This endpoint returns a list of all code challenges completed by a given user. By default only the first 200 code challenges will be returned. You can page the results using the page param. The param is zero based. HTTP REQUEST https://www.codewars.com/api/v1/users/:id_or_username/code-challenges/completed?page=0 GET User: Authored Challenges curl "http://www.codewars.com/api/v1/users/some_user/code-challenges/authored" { "data" : [ { "id" : "5571d9fc11526780a000011a" , "name" : "The builder of things" , "description" : "For this kata you will be using some meta-programming magic to create a new `Thing` object. This object will allow you to define things in a descriptive **sentence like format**." , "rank" : -3 , "rankName" : "3 kyu" , "tags" : [ "Algorithms" , "Metaprogramming" , "Programming Paradigms" , "Advanced Language Features" , "Fundamentals" , "Domain Specific Languages" , "Declarative Programming" ], "languages" : [ "ruby" , "javascript" , "python" , "coffeescript" ] }, { "id" : "51ba717bb08c1cd60f00002f" , "name" : "Range Extraction" , "description" : "A format for expressing an ordered list of integers is to use a comma separated list of either\n\n* individual integers\n* or a range of integers denoted by the starting integer separated from the end integer in the range by a dash, '-'. The range includes all integers in the interval including both endpoints. It is not considered a range unless it spans at least 3 numbers." , "rank" : -4 , "rankName" : "4 kyu" , "tags" : [ "Algorithms" , "String Formatting" , "Formatting" , "Logic" , "Strings" ], "languages" : [ "javascript" , "coffeescript" , "ruby" , "go" , "python" , "java" , "haskell" , "csharp" , "cpp" ] } ] } This endpoint returns a list of all code challenges authored by a given user HTTP REQUEST https://www.codewars.com/api/v1/users/:id_or_username/code-challenges/authored GET Code Challenge curl "https://www.codewars.com/api/v1/code-challenges/valid-braces" { "id" : "5277c8a221e209d3f6000b56" , "name" : "Valid Braces" , "slug" : "valid-braces" , "category" : "algorithms" , "publishedAt" : "2013-11-05T00:07:31Z" , "approvedAt" : "2013-12-20T14:53:06Z" , "languages" : [ "javascript" , "coffeescript" ], "url" : "http://www.codewars.com/kata/valid-braces" , "rank" : { "id" : -4 , "name" : "4 kyu" , "color" : "blue" }, "createdBy" : { "username" : "xDranik" , "url" : "http://www.codewars.com/users/xDranik" }, "approvedBy" : { "username" : "xDranik" , "url" : "http://www.codewars.com/users/xDranik" }, "description" : "Write a function called `validBraces` that takes a string of braces, and determines if the order of the braces is valid. `validBraces` should return true if the string is valid, and false if it's invalid.\n\nThis Kata is similar to the Valid Parentheses Kata, but introduces four new characters. Open and closed brackets, and open and closed curly braces. Thanks to @arnedag for the idea!\n\nAll input strings will be nonempty, and will only consist of open parentheses '(' , closed parentheses ')', open brackets '[', closed brackets ']', open curly braces '{' and closed curly braces '}'. \n\n<b>What is considered Valid?</b>\nA string of braces is considered valid if all braces are matched with the correct brace. <br/>\nFor example:<br/>\n'(){}[]' and '([{}])' would be considered valid, while '(}', '[(])', and '[({})](]' would be considered invalid.\n\n\n<b>Examples:</b> <br/>\n`validBraces( \"(){}[]\" )` => returns true <br/>\n`validBraces( \"(}\" )` => returns false <br/>\n`validBraces( \"[(])\" )` => returns false <br/>\n`validBraces( \"([{}])\" )` => returns true <br/>\n" , "totalAttempts" : 4911 , "totalCompleted" : 919 , "totalStars" : 12 , "tags" : [ "Algorithms" , "Validation" , "Logic" , "Utilities" ] } This endpoint returns information about a specific code challenge (kata). HTTP REQUEST https://www.codewars.com/api/v1/code-challenges/:id_or_slug Webhooks Webhooks allows you to receive notifications when events occur. The Codewars webhooks design is inspired by GitHub’s webhooks Structure Sample Event (Code Challenge Created) User-Agent: Codewars Hookbot Content-Type: application/json X-Webhook-Event: code_challenge X-Webhook-Secret: some-shared-secret { "action" : "created" , "code_challenge" : { "id" : "50654ddff44f800200000001" , "created_by_id" : "508f2708b3be0c0200000002" } } When an event occurs in the Codewars system, any relevant webhooks will be triggered to the specified URL. Typically, events are categorized into event and actions . Typically an event references what type of model (i.e. code_challenge ) and the action references what happened to it (i.e. created ). Webhooks use the same terminology as the rest of the API. For example, kata are referenced as a code_challenge Webhooks typically contain a very small payload (often times, it only contains the id of some object). You may need to query the rest of the API to get more information about a particular object. Register your Webhook Webhook Ping Event User-Agent: Codewars Hookbot Content-Type: application/json X-Webhook-Event: webhook { "action" : "updated" , "webhook" : { "id" : "53aa3f265b97485984000001" } } Visit your Codewars account page and add a webhook. A webhook takes the following input: Input Meaning Payload URL The server endpoint that will relieve the webhook payload (i.e. http://example.com/my/endpoint ) Secret An optional secret shared betwe...
dev.codewars.com Whois
"domain_name": "CODEWARS.COM",
"registrar": "Name.com, Inc.",
"whois_server": "whois.name.com",
"referral_url": null,
"updated_date": "2019-11-30 23:46:02",
"creation_date": "2004-06-29 18:06:33",
"expiration_date": "2021-06-29 18:06:33",
"name_servers": [
"ALLA.NS.CLOUDFLARE.COM",
"JAY.NS.CLOUDFLARE.COM",
"jay.ns.cloudflare.com",
"alla.ns.cloudflare.com"
],
"status": [
"clientTransferProhibited https://icann.org/epp#clientTransferProhibited",
"clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited",
"clientTransferProhibited https://www.icann.org/epp#clientTransferProhibited",
"clientUpdateProhibited https://www.icann.org/epp#clientUpdateProhibited"
],
"emails": "abuse@name.com",
"dnssec": [
"unsigned",
"unSigned"
],
"name": "Whois Agent",
"org": "Domain Protection Services, Inc.",
"address": "PO Box 1769",
"city": "Denver",
"state": "CO",
"zipcode": "80201",
"country": "US"