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/$%7Bart_info.art.src%7D?q=api&page=42&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 15408 results for "api"(1822ms)

myApi1 file match

@joemccourt•Updated 1 year ago

myApi1 file match

@tychio•Updated 1 year ago

myApi1 file match

@bacondotbuild•Updated 1 year ago

apiExample1 file match

@phelan•Updated 1 year ago

API_URL1 file match

@easrng•Updated 1 year ago

myApi1 file match

@fdterr•Updated 1 year ago

myApi1 file match

@raunakdoesdev•Updated 1 year ago

myApi1 file match

@impedivity•Updated 1 year ago

myApi1 file match

@abeyang•Updated 1 year ago

myApi1 file match

@spoon•Updated 1 year ago

personalShopperindex.ts7 matches

@bgschiller•Updated 1 hour ago
297}
298
299// API Functions
300async function handleLogin(): Promise<void> {
301 window.location.href = "/auth/login";
318
319 try {
320 const response = await fetch("/api/user/location", {
321 method: "PUT",
322 headers: { "Content-Type": "application/json" },
350 try {
351 const response = await fetch(
352 `/api/locations/search?zipCode=${
353 encodeURIComponent(
354 zipCode,
428): Promise<void> {
429 try {
430 const response = await fetch("/api/user/location", {
431 method: "PUT",
432 headers: { "Content-Type": "application/json" },
483 try {
484 const response = await fetch(
485 `/api/locations/${userData.preferredLocationId}`,
486 );
487 if (response.ok) {
502async function loadGuidanceCount(): Promise<void> {
503 try {
504 const response = await fetch("/api/guidance");
505 const guidance = await response.json();
506 document.getElementById("guidance-count")!.textContent = guidance.length.toString();
512async function loadSelectionsCount(): Promise<void> {
513 try {
514 const response = await fetch("/api/selections");
515 const selections = await response.json();
516 document.getElementById("selections-count")!.textContent = selections.length.toString();

personalShopperkrogerAuth.ts1 match

@bgschiller•Updated 2 hours ago
6} from "../../shared/types.ts";
7
8const KROGER_BASE_URL = "https://api.kroger.com";
9
10export class KrogerAuthService {
Kapil01
apiv1