GithubHelp home page GithubHelp logo

sophiebits / khan-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from khan/khan-api

2.0 2.0 0.0 226 KB

Documentation for (and examples of) using the Khan Academy API

Home Page: http://www.khanacademy.org

JavaScript 74.68% Python 25.32%

khan-api's Introduction

Khan Academy API Documentation and Examples

Documentation

Examples

All example code is MIT licensed.

  1. python test.py
  2. Enter your consumer key and secret
  3. Enter the Khan Academy url you want to test against (unless you're running a local version, this'll be http://www.khanacademy.org)
  4. A browser will pop up for you to walk through the authentication flow. When done, it will redirect you to a page that says "Ok" and in the URL there will be two parameter values you need: oauth_token and oauth_token_secret.
  5. Go back to the test.py command line and enter your new token and secret.
  6. You'll now have a loop that lets you run Khan Academy API queries, authenticated as the user you logged in as.
  7. Examples:

khan-api's People

Contributors

benkomalo avatar kamens avatar mjptak avatar savetheclocktower avatar sophiebits avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

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.