hnSearchByDate
Script
v1
Fork
1
2
3
4
5
import
{
fetchJSON
}
from
"https://esm.town/v/stevekrouse/fetchJSON"
;
export
let
hnSearchByDate
=
(
params
)
=>
fetchJSON
(
`http://hn.algolia.com/api/v1/search_by_date?
${
new
URLSearchParams
(
params
)
}
`
)