You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/image-url.jpg%20%22Image%20title%22?q=fetch&page=1&format=json
For typeahead suggestions, use the /typeahead
endpoint:
https://codesearch.val.run/typeahead?q=fetch
Returns an array of strings in format "username" or "username/projectName"
Found 8150 results for "fetch"(484ms)
12const basic = Buffer.from(`${client_id}:${client_secret}`).toString("base64");
1314const response = await fetch(TOKEN_ENDPOINT, {
15method: "POST",
16headers: {
31const { access_token } = await getAccessToken(client_id, client_secret, refresh_token);
3233const response = await fetch(NOW_PLAYING_ENDPOINT, {
34headers: {
35Authorization: `Bearer ${access_token}`,
1import makeFetchCookie from "npm:fetch-cookie";
2const fetchCookie = makeFetchCookie(fetch);
34export default async function handleCron(interval) {
5const following = await fetchCookie(
6"https://www.instagram.com/api/v1/friendships/375942300/following/?query=miguelse10",
7{
16const isFollowing = following.users.some((user) => user.username === "miguelse10");
1718const pushNotification = await fetchCookie(
19"https://ntfy.sh/alEMfLpdpoXMe6jB",
20{