Skip to content

Instantly share code, notes, and snippets.

@seanwittmeyer
Created November 5, 2013 17:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seanwittmeyer/7322693 to your computer and use it in GitHub Desktop.
Save seanwittmeyer/7322693 to your computer and use it in GitHub Desktop.
This is a sample response of a district from the Camper API. By default, the API formats the response for typeahead.js usage but you can utilize the value GET parameter to customize the value.
[
{
"name": "Cache La Poudre",
"schools": "Poudre & Windsor School Districts, Colorado",
"value": "Cache La Poudre",
"tokens":
[
"Poudre",
"Cache",
"la",
"Windsor"
]
},
{ ... }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment