Khan / khan-api

Documentation for (and examples of) using the Khan Academy API
http://www.khanacademy.org
378 stars 74 forks source link

javascript client library #113

Open andrewheusser opened 8 years ago

andrewheusser commented 8 years ago

Hi, I was thinking about creating a javascript client library to wrap the API, but had noticed in other threads that a v2 may be on the way. Is that accurate? Also, do you have a javascript client library that I missed? Don't want to recreate something that already exists. Thanks!

benjaminjkraft commented 8 years ago

There's no general v2; we just have a few v2 API routes, and they work more or less the same way as the v1 versions, they're just not backwards compatible.

I don't think we have a public JS client library, so we'd be happy to have a pull request for that.

andrewheusser commented 8 years ago

gotcha, thanks for the response. I did come across this npm module, but can't speak to its usability since I haven't tried it yet

https://github.com/weo-edu/khan

Phanatic commented 8 years ago

@benjaminjkraft, @andrewheusser I started a nodeJS library here

It currently supports only the open access/unauthenticated routes. I plan to the authenticated routes soon. Let me know what you think.