Show information from an outside source
An app can show information from another site, such as weather or a public feed. You ask your agent for it, Nerd Out fetches it on a schedule, and everyone using the app sees the same latest answer. If the source needs a key, you add it under Keys for outside data on the app's page, never in your chat.
For the app's owner or an Admin.
How it works
An app has no connection to the internet of its own. When it needs information that changes by itself, Nerd Out fetches it from a public web address and hands the app the latest answer. The fetch runs on a schedule your agent picks: every 15 minutes, every hour, every 6 hours or once a day.
- Everyone using the app sees the same fetched answer. It is not fetched again for each person.
- The source has to be public. Information behind a sign-in cannot be fetched this way.
- An app can have up to 5 sources.
Ask your agent for it
Say what you want to see and where. Your agent chooses a source and builds it in.
Show today's weather for Portland, Oregon at the top of the app, and say when it was last updated.
When a change adds a source, the list you read before publishing names the site and how often it is read, in a line that starts with Fetches. Read it as you would any other permission. A first version publishes itself, so for that one look under Permissions on the app's page, which keeps the same line. See Preview and publish a change and What an app can do.
What people see, and when a fetch fails
The first answer is fetched as you publish, then again on the schedule. If a fetch fails, Nerd Out keeps the last answer it got and tries again at the next scheduled time.
How the app shows a wait, an old answer or a failure is part of the app. If you want it to say when the information was last updated, ask your agent to add that.
When the source needs a key
Some services give you a key when you sign up with them, and answer only when it is sent. If your app uses one, the same list says Needs a key that you add on this page and names the one site the key is sent to. Until you add it, the app has nothing to show for that source.
- Get the key from the serviceIt is in your account with that service.
- Open the app's pageFrom My apps, choose Manage app.
- Open Agent under MoreWhile a key is missing the row carries a dot and starts open. Keys for outside data is inside it.
- Paste the key and choose Save keyThe field is named for the site the key goes to. A live app fetches with the new key straight away.
Never paste a key into your chat. Your agent does not need it: it is told only whether a key has been added.
Replace or remove a key
Once a key is saved, the row shows the day it was added, with Replace it and Remove it. The key is stored encrypted, sent only to the site named beside it, and never shown again, to you or to your agent. If you are not sure which key you saved, replace it. The app's owner and its Admins can do all of this.
- If a new version points the source at a different site, the key is not sent there. The row shows no key, and the app has nothing to show for that source until you add one for the new site.
- A key stays with this app. It is not carried into a copy someone makes, into the data download or into the project export.
- While an app is archived, its keys cannot be added or changed.
Common questions
Can my app read something that needs me to sign in?
Not this way. Nerd Out fetches only public addresses, with a key where the service gives you one. It never signs in as you.
Does each person need their own key?
No. The owner or an Admin adds one key for the app, and everyone using the app sees the same fetched answer.
I pasted a key into my chat by mistake. What now?
Make a new key in your account with that service, turn the old one off there, then replace the key on the app's page.
Related
- When an app asks for something
An app cannot open a website, copy, share, save a file, paste, find you or record by itself. Nerd Out asks you first. What each question means.
- Ask your agent for a useful change
Where a change to your app starts, what to put in the request so your agent builds the right thing, and how to give feedback on what it sends back.
- Try a preview and publish an update
How to try what your agent built on test data, read what the check found, see what the update changes, and publish it, ask for changes or discard it.
- A tour of your app's page
What each section of your app's page is for, from Overview to the rows under More, and how the page differs for a new app and for an Admin.
Checked on . This page as Markdown, for your AI to read.
