Skip to content

Address

It generates an address with optional language parameter. Default address is English.

Example

(ns your-app.core
(:require [dataimitator.address.core :refer [random-address]]))
;; Generate a random address with the default language (English)
(def default-address (random-address))
(println "Default Address (English):" default-address)
;; Generate a random address in Spanish
(def spanish-address (random-address :es))
(println "Random Address (Spanish):" spanish-address)
;; Generate a random address in French
(def french-address (random-address :fr))
(println "Random Address (French):" french-address)
;; Generate a random address in German
(def german-address (random-address :de))
(println "Random Address (German):" german-address)