Faker @github is a ruby gem for generating fake data, albeit not guaranteed to be unique every time. It’s for general purposes of fake data generation.
# Instructions # go to terminal $ gem install faker # start the interactive ruby shell $ irb # load the gem: Faker irb(main):011:0> require 'Faker' true # returns 'true' if you're loading it for the first time. irb(main):011:0> require 'Faker' false # false, because it's already loaded # now, time to play around irb(main):011:0> Faker::Name.name => "Brook Reichel" irb(main):011:0> Faker::Address.city => "West Brigitte" # need a bitcoin wallet? irb(main):014:0> Faker::Bitcoin.address => "1PfXhC3E64DYkdmYPKGwxziRh3ZzMKgzNn"
On the similar premises there are some other data generators you can have at your disposal
- The Marvel comic API (thanks to a friend for suggesting this)
- JSON generator
- And, json-server with a tutorial by egghead.io