Back to APIs list

NASA API examples & templates

Use these vals as a playground to view and fork NASA API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
nasa
ejfox
nasa
* This program creates an HTTP server that fetches various data from NASA APIs * and returns a JSON response with a collection of interesting information about today. * It uses multiple NASA APIs to gather diverse space-related data, including real-time imagery * and additional interesting data points.
nasaImageDetails
wallek
nasaImageDetails
An interactive, runnable TypeScript val by wallek
tanaSave
impedivity
tanaSave
Remix of: nbbaier/tanaSave
nasaAPOD
henrii
nasaAPOD
Remix of: danny/nasaAPOD
ValueAward
Bernard_Lori
ValueAward
@jsxImportSource https://esm.sh/react@18.2.0
sbir
salon
sbir
An interactive, runnable TypeScript val by salon
test1
AIWB
test1
// Combined Frontend (React/ChakraUI) and Backend (Hono/OpenAI) for Val Town
sbir
Learn
sbir
// Combined Frontend (React/ChakraUI) and Backend (Hono/OpenAI) for Val Town
blah
davincidreams
blah
Remix of: ajax/blah
summarize_solar_weather
davincidreams
summarize_solar_weather
An interactive, runnable TypeScript val by davincidreams
fetch_solar_weather_forecast
davincidreams
fetch_solar_weather_forecast
An interactive, runnable TypeScript val by davincidreams
valTownInspoList
rodrigotello
valTownInspoList
Val Town inspiration & use cases list List [as object] used in Val Town's use cases and inspiration. Check it out at in /examples/use-cases and /docs/tutorial/4
valTownInspoList
charmaine
valTownInspoList
Remix of: rodrigotello/valTownInspoList
getContentFromUrl
yawnxyz
getContentFromUrl
getContentFromUrl Use this for summarizers. Combines https://r.jina.ai/URL and markdown.download's Youtube transcription getter to do its best to retrieve content from URLs. https://arstechnica.com/space/2024/06/nasa-indefinitely-delays-return-of-starliner-to-review-propulsion-data https://journals.asm.org/doi/10.1128/iai.00065-23 Usage: https://yawnxyz-getcontentfromurl.web.val.run/https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10187409/ https://yawnxyz-getcontentfromurl.web.val.run/https://www.youtube.com/watch?v=gzsczZnS84Y&ab_channel=PhageDirectory
urlMetadata
yawnxyz
urlMetadata
// console.log(await getUrlMetadata('https://arstechnica.com/space/2024/06/nasa-indefinitely-delays-return-of-starliner-to-review-propulsion-data/'))
nasaAPOD
danny
nasaAPOD
Remix of: iBrokeit/nasaAPOD