[Expo-tech] Expo website - new JSON API example enabled

Philip Sargent [Gmail] philip.sargent at gmail.com
Sun Jul 26 21:18:36 BST 2020


http://expo.survex.com/api/expeditions_json 
http://expo.survex.com/api/expeditions_tsv

working. Just these examples so far, to show how it is done using django.
Useless as it stands.
Of course it could be done with plain python.

The reason I did this is to show that we can produce a complete data access
API using the current system very easily. 
It needs one 4-line template file and one 3-line function.
Then "the cool kids" can play around with wild and whacky alternative front
ends: see discussion under heading "API" in
http://expo.survex.com/handbook/troggle/trog2030.html 

{
"2020": ["CUCC expo 2020","http://expo.survex.com/expedition/2020"],
"2019": ["CUCC expo 2019","http://expo.survex.com/expedition/2019"],
"2018": ["CUCC expo 2018","http://expo.survex.com/expedition/2018"],
......

"1978": ["CUCC expo 1978","http://expo.survex.com/expedition/1978"],
"1977": ["CUCC expo 1977","http://expo.survex.com/expedition/1977"],
"1976": ["CUCC expo 1976","http://expo.survex.com/expedition/1976"]
 }




More information about the Expo-tech mailing list