khan-academy

oauth_callback for Khan Academy API not woring

耗尽温柔 提交于 2020-01-03 04:47:11
问题 We are working on wiring up our application with Khan Academy and I am not able to get a proper redirect back after authorizing the request token. I always get the default callback along with the body "OK" and NEVER get redirected back to the location specified on our oauth-callback. I am getting a javascript error in the browser and I am wondering if this is the source of the problem. Here is an example of our authorize call (after successfully getting the request token): https://www

Get KA exercise hierarchy

廉价感情. 提交于 2020-01-02 12:45:07
问题 Is there a way to get a json with the whole exercise tree using the API, like this (array or object)? Math "Early Math"... ... "Algebra II" "Advanced Functions" "Determine the domain of funs" ... "Compare features of funs" ... Tnx. 回答1: The topictree endpoint has all of this information, and you can use the kind filter to show exercises (and topics). http://www.khanacademy.org/api/v1/topictree?kind=Exercise You can also load individual topics to navigate the entire tree (not just videos and

How Do I Start Pulling Apart This Block of JSON Data?

妖精的绣舞 提交于 2019-12-25 08:09:07
问题 I'd like to make a program that makes offline copies of math questions from Khan Academy. I have a huge 21.6MB text file that contains data on all of their exercises, but I have no idea how to start analyzing it, much less start pulling the questions from it. Here is a pastebin containing a sample of the JSON data. If you want to see all of it, you can find it here. Warning for long load time. I've never used JSON before, but I wrote up a quick Python script to try to load up individual "sub

How do I access data for all of my students?

江枫思渺然 提交于 2019-12-09 23:21:55
问题 I'm making an app that authenticates a coach with KA's API, in order to present statistics and reports on the progress of each student. How do I see "For whom am I a coach" (inverse of /api/v1/user.coaches )? or otherwise request user and progress data for all my students? 回答1: You can request /api/v1/user/students to get a list of the currently authenticated users' students. Note that this is an undocumented endpoint, not sure if that's on purpose or not, but I suspect just an oversight

How can Khan Academy computer programs be run offline or on my own website?

故事扮演 提交于 2019-12-03 05:11:33
问题 I have developed programs in Khan Academy's Computer Programming lessons that I would like to run outside of Khan Academy. How can that be done? 回答1: Khan Academy uses Processing.js, a JavaScript library for interacting with <canvas> elements. Although Processing is actually a language in its own right, Khan Academy uses JavaScript-only Processing.js code. So you need to set up a web page that imports Processing.js, sets up a <canvas> , and builds a Processing.js instance on the canvas.

How can Khan Academy computer programs be run offline or on my own website?

 ̄綄美尐妖づ 提交于 2019-12-02 19:35:36
I have developed programs in Khan Academy's Computer Programming lessons that I would like to run outside of Khan Academy. How can that be done? Khan Academy uses Processing.js , a JavaScript library for interacting with <canvas> elements. Although Processing is actually a language in its own right, Khan Academy uses JavaScript-only Processing.js code . So you need to set up a web page that imports Processing.js, sets up a <canvas> , and builds a Processing.js instance on the canvas. Finally you need to make sure your Khan Academy code has all the members of the Processing.js instance in scope