A Python client library Random Data Api
Project description
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:
- Address
- Appliances
- Apps
- Banks
- Beers
- Blood
- Credit Card
- Cannabis
- Code
- Coffee
- Commerce
- Company
- Computer
- Crypto
- Crypto Coin
- Color
- Dessert
- Device
- Food
- Dessert
- Device
- Name
- Hipster
- Invoice
- User
- Stripe
- Subscription
- Vehicle
- Id_Number
- Internet Stuff
- Lorem Ipsum
- Lorem Pixel
- Lorem Flickr
- Nation
- Number
- Phone Number
- Place Hold It
- 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)