Quantcast
Channel: Mockaroo Community Forum - Latest posts
Browsing all 2665 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Can my Mock API return JSON?

Screenshot 2021-01-23 at 11.45.12 PM2080×1088 189 KB

View Article


Image may be NSFW.
Clik here to view.

Can my Mock API return JSON?

Screenshot 2021-01-23 at 11.45.59 PM2252×1260 216 KB

View Article


Creating Datetime value for specific time e.g 9am-5pm

Hi is there a way (formula) to create a datetime value but only for specific time range ?. For example the field needs to generate a date & timestamp (between 01/01/2021 and 31/01/2021) but the...

View Article

Language not linked to Country?

No doubt, language should be linked with the country. I hope Mockaroo would link languages with cities and countries. However, if it is not providing it right now then you can use this dataset...

View Article

How to generate ordered SQL datetime values?

Hey! You can simply generate ordered date-time values by coding of the SQL. You can do it by addint some refernce code in your SQL data base, Learn more about it on mockaroo.com

View Article


Dataset column lookups

I’ve two datasets with list of urls in each, just one column without any column names. I want to get a random row from dataset1 if a condition matches else get a random row from dataset2. I’ve tried...

View Article

Nested JSON array with changing object contents

Hi Can anyone help me with how to set up this kind of nested JSON object? The dictionary objects are all different for Computer, OS, BIOS, Monitor etc, some even have multiple data arrays. { “_id” :...

View Article

Get a random value from a dataset that meets "WHERE clause" criteria

Hello all, I have a situation where I need to get a random value from a dataset, but it has to be a value within the dataset where the dataset’s “created_date” column value is less than a specified...

View Article


Can't use my paid subscription?

Update: billing@mockaroo.com was able to fix this!

View Article


Vehicle Trip Data

Anyone with experience mocking vehicle trips and then trip attributes (miles driven, time, start/stop lat and long)?

View Article

Data generate using Regex

Hello, I want to generate data using regex say for: [a-zA-Z]{1}\d{8} How do I use this? because when I enter this reg ex in field I am not displayed with proper output. I am displayed with something...

View Article

Generate unique App Names

I am using the Type as App Name and its giving me duplicate values when I export like 1000 rows. Is there a way to set to return only unique Names? Thanks

View Article

Use a GUID from once schema in another schema via API

Hi, Is it possible to use GUID from one schema in another when using the API? Example: **schema1_guid**: e79c7d16-6603-4146-980a-07173ba45224 key: value schema2: { schema2_guid:...

View Article


Use post request to generate api

Dear all, I’m trying to use the “/api/generate.json” endpoint to post a simple schema and generate data in json format. But the only response I receive from the API is: { "error": "A JSON text must at...

View Article

Image may be NSFW.
Clik here to view.

Schema question on lat,long coordinates

I am trying to output this with JSON “coordinates”: [ 33.5693, 33.9995 ] this is the closest I’ve been able to achieve “coordinates”: [ "-96.79739537, 33.09392444" ] (How can i configure the schema to...

View Article


Consecutive Date for each Category

Hi there, I am trying to create a time series which shows transactions for two different product categories. Each category (Category A and Category B) needs to have transactions for each day of the...

View Article

How to pull data from my own test dataset

I want to build test cases using my own test dataset. Is that possible?

View Article


Creating Mock data for Firebase Auth

You need to go with the mock “Firebase. Auth” method and also set it with the current user option. Although Firebase is not enough challenging because it is an open community but you must know...

View Article

Undefined method `file_format' for nil:NilClass

can someone help me? the documentation it’s not clear

View Article

Email: "error: undefined method `downcase' for nil:NilClass"

For some reason, out of the blue, I started getting “error: undefined method `downcase’ for nil:NilClass” for data generated from a schema where the type is Email Address, even when I have no formulas...

View Article
Browsing all 2665 articles
Browse latest View live