1null
2
3Migrated from folder: External_APIs/openai/fineTuningJob1
1# Human Alive-ness API
2
3It works by querying Wikidata via SPARQL to search for birth and death dates of a person.
1# Requesting data from the OpenStreetMap API
2
3The [OpenStreetMap API](https://wiki.openstreetmap.org/wiki/API_v0.6) allows both unauthenticated public reads and writes using authentication tokens. This example shows us getting the first node ever created in the project, which was last edited by [owene](https://www.openstreetmap.org/user/owene).
1# octokit/graphql
2
3This [alternative driver](https://www.npmjs.com/package/@octokit/graphql) for the GitHub API exposes it via GraphQL.
3
4
5This image is generated by the Val below and exposed to the internet with the [Web API](https://docs.val.town/api/web).
1This example shows how to get the query parameters out of a request with the Web API. Check out the [searchParams](https://developer.mozilla.org/en-US/docs/Web/API/URL/searchParams) object for more ways to handle query parameters.
2
3Migrated from folder: Web_API/urlQueryStringExample
1# itty-router
2
3This is an example of using the Val Town [Web API](https://docs.val.town/api/web) to integrate with [itty-router](https://github.com/kwhitley/itty-router).
4
5### Server examples
10- [Nhttp](https://www.val.town/v/tmcw.nhttpExample)
11
12Migrated from folder: Web_API/ittyRouterExample
1# nhttp example
2
3This uses the tiny [nhttp framework](https://github.com/nhttp/nhttp) with the Val Town [Web API](https://docs.val.town/api/web). New frameworks like `nhttp` works really well with our system because they rely on the standard Request & Response objects!
4
5### Server examples
10- [Nhttp](https://www.val.town/v/tmcw.nhttpExample)
11
12Migrated from folder: Web_API/nhttpExample
1# peko
2
3This is an example of using the tiny [peko](https://peko.deno.dev/) example with Val Town - it's a small router that lets you build web apps using the standard [Request](https://developer.mozilla.org/en-US/docs/Web/API/Request) & [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) objects.
4
5Peko just provides routing - matching URLs with functions - and lets you create your own Response object.
12- [Nhttp](https://www.val.town/v/tmcw.nhttpExample)
13
14Migrated from folder: Web_API/pekoExample
1# Hono
2
3Here's an example using the [Hono](https://hono.dev/) server library with the [Web API](https://docs.val.town/api/web). It works great!
4
5
11- [Nhttp](https://www.val.town/v/tmcw.nhttpExample)
12
13Migrated from folder: Web_API/honoExample