Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fake.location.{address,address2,city,state,zip,coords} #76

Open
serhalp opened this issue Jan 11, 2021 · 0 comments
Open

Add fake.location.{address,address2,city,state,zip,coords} #76

serhalp opened this issue Jan 11, 2021 · 0 comments

Comments

@serhalp
Copy link
Contributor

serhalp commented Jan 11, 2021

We already have fake.zip() and there is an open PR to add fake.address().

I would propose to move both of these (we can do this in a non-breaking way by exporting them in both namespaces) under fake.location:

  • fake.location.address: fake.address() as in Create address generator #57
  • fake.location.address2: generate an optional line that looks like an "address line 2"
  • fake.location.city: generate a U.S. city name
  • fake.location.state: generate a U.S. state postal abbreviation
  • fake.location.zip: move/re-export fake.zip()
  • fake.location.coords.{lat,long}: generate latitude and latitude geocoordinates (we use a few different names for this so we should pick one carefully)
@serhalp serhalp changed the title Add fake.location.{address,address2,city,state,zip} Add fake.location.{address,address2,city,state,zip,coords} Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant