License

Random-Text

A Random Object Generator for Addresses, Names, Reviews, Testimonials, Business Names, and Random Objects.

Sources

Description Type Link
Random Data Website General Click
Randommer Data Website General Click
Random Geek Jokes Jokes Click
Evil Insult Generator Jokes Click
Dad Jokes Jokes Click
Shibe Generator Images Click
Testimonial Generator Text Click
Text Generator Text Click

Requirements

  • Python >= 3.6

Getting started

pip install random-text

random-text is simple to use — take a look at the below example:

from randomText import RandomTextClient

client = RandomTextClient(api_key='api_key')

Available methods:

Basic Usage (No Api Key Required)

df = client.address.get_random(size=1)
print(df.head(2))

Advanced Usage – Requires API Key when creating the client.

business_name = client.fancy_random.generate_business_name(size=2)
brand_name = client.fancy_random.generate_brand_name(starting_word='funny')
product_reviews = client.fancy_random.generate_product_reviews(size=2, product='toy')

Available Objects:

  1. Address
  2. Appliances
  3. Apps
  4. Banks
  5. Beers
  6. Blood
  7. Credit Card
  8. Cannabis
  9. Code
  10. Coffee
  11. Commerce
  12. Company
  13. Computer
  14. Crypto
  15. Crypto Coin
  16. Color
  17. Dessert
  18. Device
  19. Food
  20. Dessert
  21. Device
  22. Name
  23. Hipster
  24. Invoice
  25. User
  26. Stripe
  27. Subscription
  28. Vehicle
  29. Id_Number
  30. Internet Stuff
  31. Lorem Ipsum
  32. Lorem Pixel
  33. Lorem Flickr
  34. Nation
  35. Number
  36. Phone Number
  37. Place Hold It
  38. Restaurant
  39. Fancy Random
  40. Geek Jokes
  41. Evil Insults
  42. Dad Jokes
  43. Shibe
  44. Testimonials
  45. Meta

TO DO

  1. Add as many random open api’s from the web. Based off https://github.com/public-apis/public-apis

Tests

To run tests:

python -m unittest discover -p *test.py

GitHub

View Github