APIs & Data
Weather Right Now
Type a city, get the live weather — your first two-step API call.
Search any city and see the current temperature, wind and conditions, pulled live from a free weather service. You'll learn to chain two API calls (find the place, then fetch its weather) and turn codes into plain English.
What's inside
- Live current conditions for any city
- Two chained calls: geocode, then forecast
- Weather codes mapped to text and emoji
- Loading and "city not found" states handled
- Free API, no key required
Quickstart
$ curl -LO https://devai.io/downloads/weather-now.zip$ unzip weather-now.zip && cd weather-now$ open index.html # or just double-click the file
about this tutorial
A devai.io starter tutorial — calling a real API and combining two requests.
More in APIs & Data
view allAPIs & Data
GitHub Profile Card
Type a username, get their profile — your first taste of an API.
HTMLCSSJavaScriptfetch()+1
View template zip + preview
APIs & Data
Random Quote Machine
Load quotes from a data file and show a new one on demand.
HTMLCSSJavaScriptfetch()+1
View template zip + preview
APIs & Data
Currency Converter
Convert between currencies at today's real exchange rates.
HTMLCSSJavaScriptfetch()+1
View template zip + preview