Skip to main content

A Python client library Random Data Api

Project description

License

Random-Text

A Random Object Generator for Addresses and the likes. Random Data Website

For an overview of the Random Data API, click here.

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()

Available methods:

get_random(size='how many to return')

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

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

TO DO

Add GraphQL option for above API. Add more random data from this api: https://randommer.io/randommer-api

Tests

Not working as of yet

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

random-text-1.5.0.tar.gz (5.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page