Val Town Code SearchReturn to Val Town

API Access

You can access search results via JSON API by adding format=json to your query:

https://codesearch.val.run/$%7Bsuccess?q=api&page=38&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=api

Returns an array of strings in format "username" or "username/projectName"

Found 11720 results for "api"(731ms)

myApi1 file match

@sar•Updated 1 year ago

myApi1 file match

@dantaeyoung•Updated 1 year ago

hiapi1 file match

@dnomadb•Updated 1 year ago

myApi1 file match

@yonatanm•Updated 1 year ago

myApi1 file match

@cmd•Updated 1 year ago

myApi1 file match

@third774•Updated 1 year ago

myApi1 file match

@kfastov•Updated 1 year ago

myApi1 file match

@yax•Updated 1 year ago

myApi1 file match

@robo•Updated 1 year ago

myApi1 file match

@sadfasdfasf•Updated 1 year ago

glastonewsindex.ts1 match

@bensomething•Updated 38 mins ago
1import process from "node:process";
2import { BskyAgent } from "npm:@atproto/api";
3import * as cheerio from "npm:cheerio";
4import fetch from "npm:node-fetch";

HHGtoMyDaygetTodoist.ts7 matches

@lm3m•Updated 38 mins ago
40
41/**
42 * Fetches tasks from Todoist API
43 * @returns Array of Todoist tasks due today or overdue
44 */
45async function fetchTodoistTasks(): Promise<TodoistTask[]> {
46 const apiToken = Deno.env.get("TODOIST_API_TOKEN");
47
48 if (!apiToken) {
49 throw new Error("Todoist API Token is required");
50 }
51
55
56 try {
57 const response = await fetch("https://api.todoist.com/rest/v2/tasks", {
58 method: "GET",
59 headers: {
60 "Authorization": `Bearer ${apiToken}`,
61 "Content-Type": "application/json",
62 },
64
65 if (!response.ok) {
66 throw new Error(`Todoist API error: ${response.statusText}`);
67 }
68
apiv1
papimark21