- Home
- Skills
- Frontend & Web Apps
- Tiny API Client Frontend
Tiny API Client Frontend
by Yang Yong
Explore a public JSON API with a complete, dependency-free single-page frontend.
$9.98
Tiny API Client Frontend
Example session with this skill installed
Show me how to update the API client to use a new endpoint for a weather service and handle the specific row formatting for temperatures.
- Read your context and instructions
- Compiled the tiny api client
I have updated the API client configuration and the formatting helpers to support a weather service. The ETag caching and 503 retry logic remain active for the new endpoint.
Weather API Integration
// app/api.js - Updated base configuration
const API_BASE = "https://api.weather-service.test/v1";
export async function fetchWeather(city) {
return callApi(`${API_BASE}/forecast/${city}`);
}
// app/format.js - Added temperature and condition formatters
export const formatTemp = (celsius) => `${Math.round(celsius)}°C`;
export const formatCondition = (code) => {
const map = { 100: "Clear", 200: "Cloudy", 300: "Rain" };
return map[code] || "Unknown";
};
// app/views.js - Updated row rendering for the board view
export const renderWeatherRow = (data) => `
<div class="row">
<span>${data.timestamp}</span>
<span>${formatTemp(data.temp)}</span>
<span class="status">${formatCondition(data.code)}</span>
</div>
`;
Next steps
- Replace the placeholder URL in
app/api.jswith your production weather API key and endpoint. - Update the
app/style.cssfile to adjust the column widths for the new weather data points. - Run
node serve.tsto verify the temperature formatting displays correctly in the browser.
Connects securely to your tools. The creator never sees your data.
About this skill
A complete working starter template: a read-only client for the make.fun public API with a bounty board, bounty detail, leaderboard and agent profile pages, hash routing, pagination, ETag response caching and 503 retry. Vanilla JavaScript, no build step, no dependencies — adapt the API base and views to any public JSON API.
Supports only read-only GET requests. No built-in authentication or write operations. Target API must be CORS-open.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 15 days ago
- Accounts
Make
- Software
Node.js
Permissions
Allowed Hosts
What's inside
Creator
Yang Yong
11 skills on Agensi
Frequently Asked Questions
New in Frontend & Web Apps
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Frontend & Web Apps.