Skip to content

Instantly share code, notes, and snippets.

@calumgunn
Last active January 29, 2018 12:16
Show Gist options
  • Save calumgunn/ed95b7f291a2c5e2e67930ae989b84d2 to your computer and use it in GitHub Desktop.
Save calumgunn/ed95b7f291a2c5e2e67930ae989b84d2 to your computer and use it in GitHub Desktop.
// Response from querying API with user token
// Rough idea for what I think would be useful for the front-end
{
"hearing_insights": {
"descriptor": "Very good!", // The user's hearing summed up (Very good, average, etc - localized?)
"ear_left": 96,
"ear_right": 84,
"freqs": [
"high": {
"ear_left": 89,
"ear_right": 92
},
"mid": {
"ear_left": 89,
"ear_right": 92
},
"low": {
"ear_left": 0, // Denotes test not taken
"ear_right": 0 // Denotes test not taken
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment