School of Tomorrow: A Flask Application

by Kirby Urner
4D Solutions
School of Tomorrow


A Flask application used in my Python courses.

Open Source: feel free to clone

Here's the API:

returns HTML

/elements
/elements/H
/elements/all
returns JSON

/api/elements?elem=H
/api/elements?elem=all


/glossary
/glossary/.NET
/glossary/all

/api/glossary?term=.NET
/api/glossary?term=all


/shapes
/shapes/icosa
/shapes/all


/api/shapes?shape=icosa
/api/shapes?shape=all



/airports
/airports/PDX
/airports/all


/api/airports?airport=PDX
/api/airports?airport=all



Edit allows updating fields using POST, however Add and Delete are only stubs. Editing requires setting a secret key in your local copy. Editing is disabled in the read-only cloud version

Posting of new records is partially implemented but disabled (example script), for adding to any database.

web_dev