Git Product home page Git Product logo

muratulashozturk / fake-address-generator Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 2.0 55 KB

Random Fake Address Generator Including Fake Personal Information, Personality Style, Online Profile, and more. Unofficial API wrapper for worldnamegenerator.com

Home Page: https://www.npmjs.com/package/fake-address-generator

License: The Unlicense

JavaScript 100.00%
random-address generate-address fake-adress fake-information fake-address random-fake-information

fake-address-generator's Introduction

fake-address-generator

Generate fake or real random addresses programmatically from fakeaddressgenerator.com , worldnamegenerator.com.

Key Features

  • Asynchronous calls: Leverages async/await for efficient and streamlined data retrieval.
  • Customizable generation: Fine-tune the generated addresses using parameters for country, gender, state, city, and ZIP code.
  • Comprehensive data: Retrieves a wide range of personal information, including:
    • Basic information (name, gender, race, birthdate, SSN)
    • Complete address details
    • Physical attributes (height, weight, hair color, blood type)
    • Employment and financial information (occupation, salary)
    • Personal interests and online profiles
  • Supported Countries:
    • ✔️ United Kingdom
    • ✔️ USA
    • ❌ Canada
    • ❌ Australia
    • ❌ Germany
    • ❌ Other Countries

Installation

npm i fake-address-generator

Usage

const fakeAddress = require("fake-address-generator");

const params = {
  country: "us",
  sex: "Female",
  state: 0, // Random value (optional)
  city: 0,   // Random value (optional)
  zip: 10001,
};

try {
  const response = await fakeAddress.Generate(params);
  console.log(response);
} catch (err) {
  console.error("Error:", err);
}

Response Format

{
  "basicInformation": {
    "fullName": "...",
    "gender": "female",
    "title": "Mrs.",
    "race": "White",
    "birthday": "7/25/1994",
    "ssn": "..."
  },
  "address": {
    "street": "... Forest Avenue",
    "city": "New York",
    "state": "NY",
    "stateFull": "New York",
    "zip": "10001",
    "phone": "...",
    "phoneMob": "...",
    "country": "us"
  },
  "moreBasicInformation": {
    "height": "5' 3\" (159 centimeters)",
    "weight": "162.2 pounds (73.57 kilograms)",
    "hairColor": "Black",
    "bloodType": "O+",
    "mothersMaidenName": "Minor",
    "civilStatus": "Dating/Looking for love",
    "educational": "Bachelor's degree",
    "driverLicense": "..."
  },
  "employmentAndFinance": {
    "employmentStatus": "Full-time work",
    "monthlySalary": "$5,300",
    "occupation": "Athlete and Sports Competitor",
    "companyName": "Dreamscape Garden Care",
    "companySize": "51-100 employees",
    "industry": "Arts, Design, Entertainment, Sports, and Media Occupations",
  },
  "personalInformation": {
    "vehicle": "2005 Ferrari Maranello",
    "carLicensePlate": "...",
    "onlineStatus": "No thanks, 5 Hour Energy, I'd rather have a 5 Hour Nap.",
    "onlineSignature": "There is no fear before and no fear after. We give our best.;Rickie Lee Jones;fear",
    "onlineBiography": "Incurable travel geek. Alcoholaholic. Twitter evangelist. Proud thinker.",
    "interest": "Jewelry Making,Playing An Instrument"
  },
  "personalityStyle": {
    "favoriteColor": "Silver",
    "favoriteMovie": "Martin Freeman",
    "favoriteMusic": "Blues",
    "favoriteSong": "The Greatest(by Sia feat. Kendrick Lamar)",
    "favoriteBook": "The Iliad/The Odyssey --by Homer",
    "favoriteSports": "Soccer",
    "favoriteTV": "Bloodline (2015)",
    "favoriteSinger": "Mariah Carey",
    "favoriteFood": "Peanut butter & jelly sandwich",
    "personality": "Serious",
    "personalStyle": "Average Joe/Jane"
  },
  "onlineProfile": {
    "username": "...",
    "password": "...",
    "website": "...",
    "secQuestion": "What is your dog's name?",
    "secAnswer": "hawy",
    "userAgent": "...",
    "system": "Windows 10",
    "guid": "...",
    "countryCode": "1"
  }
}

Support The Project

Help expand the project's reach by adding support for more countries! Pull requests are welcome.

Contributors

Disclaimer

Please use this module for legal and educational purposes only. The developer is not responsible.

fake-address-generator's People

Contributors

muratulashozturk avatar dzxt avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.