Skip to content

Location

This is the location module, it contains countryName, countryCode, city, longitude, latitude

CountryName

dunna.location.countryName() returns a random country name

dunna.countryName();

CountryCode

dunna.location.countryCode() returns a random country code

dunna.countryCode();

City

dunna.location.city() returns a random city

dunna.city();

Longitude

dunna.location.lng() returns a random longitude

dunna.lng();

Latitude

dunna.location.lat() returns a random latitude

dunna.lat();