Blog
Notes on dev, data, and building APIs.
Featured articles
Home and mobile are both phone columns
Walk through a mixed-country CSV with two phone columns. Choose checks, supply row-level countries, understand duplicates, and read the download.
What to show when autocomplete has no suggestions
Build address forms that handle empty suggestions, location changes, stale responses, keyboard selection, and manual entry, with a downloadable offline example.
An API version belongs with the code
Move a consumer from API 2.0.0 to 2.1.0 with explicit request pins, matching field readers and an offline Carrier adapter example.
All articles
93 articles
A country gives the timezone picker its options
Use Country.timezones to offer choices in an office-hours editor, then keep the selected zone or resolve the office's known coordinates.
Short fields in AI responses
Readable field names keep responses straightforward for application code and AI tools. Measure token use with the model you actually use.
The network country is a separate column
An ASN lookup's country describes the network record. Keep it separate from the estimated location of an IP connection in traffic reports.
There's a field for what to call someone from a country
The demonym field supplies words like Dutch and Japanese, so an app does not have to derive them from country names.
A country carries three names, one job each
Country names have short, formal, and local forms. Separate fields let you choose the one your interface needs.
Weather history uses a UTC day
The historical weather date selects a past UTC day's summary. It does not turn the current station reading into an observation from that date.
Which region answered your request?
Two response headers tell you where a request was handled and how much time the API spent on it.
An emoji picker selects a whole string
An emoji can contain several code points. Preserve the returned sequence when displaying, storing, or selecting a skin-tone variant.
Your rate limit is in the response headers
Successful API calls include the minute limit, remaining requests, and time until reset, so a client can pace its next request.
A language picker needs a direction
Keep the selected language, the language of its display label, and the direction of the actual text separate in your interface.
Choose the company, then keep its ID
Show why a company matched a name, domain, or ticker search, then save the chosen company ID instead of repeating the search.
CST needs a place
A timezone abbreviation can match several regions. Discover the candidates, show their context, and keep the selected IANA identifier.
Showing 12 of 93
Show more articles