8Fork this val and change the following:
9- `username` = your Last.fm username
10- Add your Last.fm API key to your [environment variables](https://www.val.town/settings/environment-variables), name it `LASTFM_API_KEY`
11 - You can get your Last.fm API key through [this form](https://www.last.fm/api/account/create), it seems like it gets auto-approved.
12
13This will return the most recent track you have been listening to, along with the artist and artwork.
16You can easily plug this into your Framer website through [Framer Fetch](https://www.framer.com/developers/fetch/introduction).
17
18You can get the API url of your val by clicking `Copy` > `Copy HTTP Endpoint` on the right side bar.
19
20For example, my HTTP endpoint is: `https://charmaine-listeningtolastfm.web.val.run`
142 "frequency": "No information.",
143 "description":
144 "Used to train Gemini and Vertex AI generative APIs. Does not impact a site's inclusion or ranking in Google Search.",
145 },
146 "GoogleOther": {
251 "frequency": "No information.",
252 "description":
253 "Crawls sites for APIs used by Hootsuite, Sprinklr, NetBase, and other companies. Data also sold for research purposes or LLM training.",
254 },
255 "omgilibot": {
1import { getJson } from "npm:serpapi";
2const SERP_API_KEY = process.env.SERP_API_KEY;
3
4const keyword = "google maps API";
5const website = "https://serpapi.com";
6const location = "Austin, Texas, United States";
7
13 num: "100",
14 google_domain: "val.town",
15 api_key: SERP_API_KEY,
16}, (json) => {
17 for (let i = 0; i < json["organic_results"].length; i++) {
1A simple script to find your website rank on certain keywords on Google.
2We'll use [Google Search API](https://serpapi.com/search-api) by SerpApi.
3
4Feel free to update the `domain` and `keyword` based on your needs.
88 href="https://www.val.town/v/std/openaiproxy"
89 title="OpenAI Proxy"
90 description="Provide a secure and efficient proxy for OpenAI API calls"
91 />
92 <FeatureItem
4export default async function handler() {
5 const result = {
6 apiKeyStatus: null,
7 evalStarted: false,
8 evalComplete: false,
12
13 try {
14 // Check API key
15 const apiKey = Deno.env.get("BRAINTRUST_API_KEY");
16 if (!apiKey) {
17 throw new Error("Add BRAINTRUST_API_KEY to your environment variables");
18 }
19 result.apiKeyStatus = "found";
20 console.log("API Key status:", result.apiKeyStatus);
21
22 // Start evaluation
12
13- Click `Fork` on this val
14- Get your Braintrust API key at https://www.braintrust.dev/app/settings?subroute=api-keys
15- Add it to your project `Environment Variables` (on the left side bar of this project) as `BRAINTRUST_API_KEY`
16- Click `Run` on the `tutorial` val
97 const { access_token } = await tokenResponse.json();
98
99 const userResponse = await fetch("https://api.github.com/user", {
100 headers: {
101 "Authorization": `token ${access_token}`,
1export const INSTANTDB_APP_ID = "b63bc79a-c9f3-486f-b067-7afc402b3efc";
2export const CLERK_PUBLISHABLE_KEY = "pk_test_cGVyZmVjdC1zYWlsZmlzaC02NS5jbGVyay5hY2NvdW50cy5kZXYk";
3// GO TO https://www.val.town/v/vawogbemi/notUberMapComponent to change the google maps api key -- for some reason importing it doesn't work.
1export default async function (interval: Interval) {
2
3}