presnick / RunestoneServer

Interactive books for computer science
http://interactivepython.org
Other
26 stars 46 forks source link

Create API for students #50

Closed nickdotreid closed 1 year ago

nickdotreid commented 10 years ago

I wanted to log this idea before it completely slipped my/Jackie's mind(s).

We were thinking it would be fun for students to allow them access to their own db.useinfo data, which we would return in JSON format.

I know we are planning to wrap this into a visualization on a student's progress page, but I thought this might be a fun secondary use to allow.

Please add thoughts below.

nickdotreid commented 10 years ago

Jackie and I just had a conversation about this

We will authenticate students with an API key & an email address. The first version of this API they will just be able to pull data (but none of it will relate to their grades), and students can only pull data about themselves

Our two imagined endpoints are activity and problem

/activity?day=YYYY-MM-DD&hour=HH This will pull a list of URLs and timestamps. Arguments are optional, but will filter the list.

/problem?acid=[letters] This will pull the uselog for a particular problem. The acid argument is required.

aerenchyma commented 9 years ago

Would like to come back to this. Now, with more experience on the Jackie end of things...

github-actions[bot] commented 1 year ago

Stale issue message