Simple python script for creating random users into a Sendbird application using Sendbird's Platform API and the Random User Generator by Aaron Hunt and Keith Armstrong
- A valid Sendbird account
- A Sendbird application with an Application ID
- Saves Sendbird Application id and token to an .env file for faster re-runs
From terminal run: python3 random_users.py
Flag | Description | Argument Type | Default |
---|---|---|---|
c | How many randomly generated users do you want | number | 2 |
n | Nationalities of users. Available options: AU, BR, CA, CH, DE, DK, ES, FI, FR, GB, IE, IR, NO, NL, NZ, TR, US - which can be comma separated | String | US |