3Example of using the [are.na](https://dev.are.na/documentation/channels#Block43472) API to get the contents of an Are.na board - specifically my fun board that showcases websites with that "glossy black style."
4
5All you need is [fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) to make this happen!
6
7Migrated from folder: API_Examples/arenaApiExample
1# ky
2
3The [ky module](https://www.npmjs.com/package/ky) is a nice abstraction around the [fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API), which is easily compatible with Deno. It's by the same creator as [got](https://npmjs.com/got), which more explicitly targets Node.js.
4
5Most of the time, the `fetch` method is all you need! But in a pinch, you can use `ky` to make things a little fancier.
6
7Migrated from folder: Modules/kyExample
1# Val Town API: Find a val by handle and name
2
3This val fetches itself via the [Val Town API](https://docs.val.town/api/reference)! Weird, right?
4
5Migrated from folder: Val_Town_API/valTownApiExampleVal
1# Fetch the source of a val
2
3> This val was created before the introduction of https://esm.town
13## Examples
14
15### Fetching the val code
16
17```console
21You can also use `js`, `jsx` and `ts` extension (only the content-type change, there is no transpilation).
22
23### Fetching private val
24
25Pass an api token as an username
29```
30
31### Fetching the val README
32
33```console
41```
42
43### Fetching a specific version of a val
44
45```console
49You need to be authenticated to use this method.
50
51### Fetching the val metadata
52
53```console
1# Fetch data from the val town api
2
3## Usage
7```javascript
8const valtownApi = (path: string, options?: RequestInit) =>
9 @pomdtr.fetchValTownAPI(
10 @me.secrets.apiToken,
11 path,
1Migrated from folder: Figma/fetchFigmaFile
1Migrated from folder: summarize/fetchFile
1Fetches the 20 active posts in a community from a specific Lemmy instance.
2
3Migrated from folder: Lemmy/getLemmyPosts
1Fetches all videos for a Youtube channel, by using its RSS feed.
2
3Migrated from folder: Youtube/youtubeFeed
1This is an RSS parser val, similar to @stevekrouse.fetchRSS, but uses an NPM parsing library
2so it can support multiple RSS feed types easily.
3
4Migrated from folder: Other/fetchRss