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=6&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 18971 results for "fetch"(959ms)
27app.post("/api/interactions", verify, handleInteraction);
2829export default app.fetch;
30
76);
7778// Parallel fetch NFL and Fantasy data
79const [nflResponse, fantasyResponse] = await Promise.all([
80fetch(
81"http://site.api.espn.com/apis/site/v2/sports/football/nfl/scoreboard",
82),
83fetch(
84`https://lm-api-reads.fantasy.espn.com/apis/v3/games/ffl/seasons/${YEAR}/segments/0/leagues/${LEAGUE_ID}?view=mMatchup&view=mMatchupScore&view=mTeam&view=mRoster&view=mLiveScoring&scoringPeriodId=${currentWeek}`,
85{
298} catch (error) {
299return Response.json({
300error: "Failed to fetch game context",
301details: error.message,
302});