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=39&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"(1093ms)

myApi1 file match

@triptychUpdated 1 year ago

myApi1 file match

@investorUpdated 1 year ago

valTownApiExampleUser2 file matches

@tmcwUpdated 1 year ago

myApi1 file match

@johnwithanhUpdated 1 year ago

myApi1 file match

@simply_say_mUpdated 1 year ago

myApi1 file match

@sibrelUpdated 1 year ago

myApi1 file match

@israelroldanUpdated 1 year ago

myApi1 file match

@connoradsUpdated 1 year ago

api2 file matches

@ayrtonlacerdaUpdated 1 year ago

myApi1 file match

@murdoUpdated 1 year ago

glastonewsindex.ts1 match

@bensomethingUpdated 13 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

@lm3mUpdated 13 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
papimark21
socialdata
Affordable & reliable alternative to Twitter API: ➡️ Access user profiles, tweets, followers & timeline data in real-time ➡️ Monitor profiles with nearly instant alerts for new tweets, follows & profile updates ➡️ Simple integration