Labs/Jetpack/JEP/22: Difference between revisions

Jump to navigation Jump to search
Line 16: Line 16:
Hide all of the muckety muck of Places "Query API" inside of an easy to use Jetpack API.
Hide all of the muckety muck of Places "Query API" inside of an easy to use Jetpack API.


<pre>jetpack.places.find("Groucho Marx")
<pre class="brush:js;">jetpack.places.find("Groucho Marx")


jetpack.places.find({term: "Groucho Marx", where:"history", since: "2009-03-01 12:00:01"})
jetpack.places.find({term: "Groucho Marx", where:"history", since: "2009-03-01 12:00:01"})
564

edits

Navigation menu