Dowell Shuffling of Big Data API
Witness the magic of Dowell Shuffling as it brings order to the chaos of big data

Dowell Shuffling of Big Data API
ShuffleAPI is a tool designed to shuffle data and verify the central limit theorem based on your specific requirements.
Shuffles Data: Imagine you have a deck of cards, and you want to mix them up randomly. ShuffleAPI does the same thing but with data instead of cards. It mixes up your data so that it’s in a different order each time you use it.
Verifies the Central Limit Theorem: This part is a bit more complex but very important for making sure your data is reliable. Think of it like a quality check. The central limit theorem is a rule in statistics that helps us understand how data behaves when we take lots of samples from it. ShuffleAPI checks to make sure your data follows this rule, which is crucial for accurate analysis.
Key Features

Customizable Parameters
Users can define the "Deck Size," "Test Number," and "Error Size" according to their specific requirements. This flexibility allows for tailored shuffling and central limit theorem checks, ensuring relevance to diverse datasets and analysis needs.

Error Tolerance Control
By specifying the "Error Size," users can control the acceptable margin of error in their data analysis. This feature enables fine-tuning of accuracy thresholds, critical for ensuring the reliability of statistical results.

Shuffle and Verify Functionality
The API not only shuffles the provided data but also conducts checks to verify adherence to the central limit theorem. This dual functionality streamlines the process of data quality assurance, enhancing confidence in subsequent analyses and interpretations.

Comprehensive Output
Upon API invocation, users receive a comprehensive output, including mean and series dataframes, the number of iterations for optimum series, and graph data. This rich output facilitates in-depth analysis and visualization of shuffled data, supporting informed decision-making in statistical modeling and hypothesis testing.
How to Use ShuffleAPI
To utilize ShuffleAPI, just follow these simple steps:
- Request Method: Make a POST request.
- Request URL: Use the following URL: http://100072.pythonanywhere.com/api?api_ke=your_api_key
The parameters that need to be passed by the user from the fronted test screen:
- Deck Size: Specify the size of your deck.
- Test Number: Determine the number of tests you wish to perform.
- Error Size: Define the margin of error you’re allowing.
#calling the API using Remote Server
curl example
curl --location 'http://100072.pythonanywhere.com/api' \
--form 'deck="200"' \
--form 'error="1.67"' \
--form 'test_num="7"' \
--form 'deck_items="\"1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60\""'
Output
Output Received from Calling the API using Remote Server:
- Means DataFrame: A DataFrame presenting mean values.
- Series DataFrame: A DataFrame displaying series data.
- Number of Iterations for Optimum Series: Indicates the number of iterations required for the best series.
- Graph Data: Data suitable for graphical representation.
Advantages of ShuffleAPI
Here are the key benefits of using ShuffleAPI:
- User-Friendly: Simplifies the process of shuffling and analyzing data.
- Customizable: Tailor the parameters to suit your specific needs.
- Efficient: Provides quick results, saving you time.
- Visual Insights: Graph data helps in easily interpreting results.
- Reliable: Ensures accurate statistical analysis by verifying the central limit theorem.
With ShuffleAPI, managing and analyzing your data becomes a breeze, offering you accurate insights with minimal hassle.
Dowell Shuffling Of Big Data API Demonstrative Scenarios
In the following scenarios, Dowell will furnish comprehensive instructions on obtaining the Service key and guide you through the steps to use the API. You’ll find examples in various formats such as Python, PHP, React, Flutter, and WordPress in the tabs below. Feel free to explore the examples in each tab for practical insights.
Frequently Asked Questions (FAQs) about Dowell Shuffling of Big Data API
1. What parameters do I need to pass when calling the API?
The parameters required are “Deck Size”, “Test Number”, and “Error Size”.
2. What is the request method for calling the API?
The request method is POST.
3. What is the format of the response returned by the API?
The API returns four distinct results: a Means DataFrame, a Series DataFrame, the count of iterations required for an optimal series, and graphical data representations.
4. How does the Dowell shuffling algorithm work?
The Dowell shuffling algorithm shuffles the data entries and assesses compliance with the Central Limit Theorem to ensure statistical validity.
5. What is the significance of the Central Limit Theorem in this context?
The Central Limit Theorem is important as it ensures that the shuffled data follows a normal distribution, which is crucial for many statistical analyses.
6. What kind of support is available if I encounter any issues while using the API?
If you encounter any issues, have questions, or need assistance with Dowell Shuffling of Big Data API, you can contact the support team for prompt assistance. Contact us at Dowell@dowellresearch.uk
7. How accurate are the graphical data representations generated by the API?
The graphical data representations are generated based on the shuffled data and are intended to provide visual insights into its distribution and compliance with the Central Limit Theorem.
8. What is the expected response time when making requests to the API?
The response time may vary depending on factors such as server load and network conditions. However, efforts are made to ensure optimal performance.
9. Can I integrate the API into my existing software or application?
Yes, you can integrate the API into your software or application by making HTTP requests to the provided endpoint.
10. What other APIs does Dowell UX Living Lab provide besides Shuffling of Big Data API?
Dowell UX Living Lab offers a wide range of APIs to enhance user experience and streamline various processes. To explore the full list of APIs available, including Dowell Email, Dowell Newsletter, Samanta Content Evaluator, and many more.
For more details and to explore the complete list of APIs provided by Dowell UX Living Lab, please visit our documentation page.
How To Get The API Key
- Access the Dowellstore website through this link: https://dowellstore.org and login. Once on the website, navigate to the API service section and activate the DOWELL SHUFFLING OF BIG DATA API service. The API Key you need can be found in the dashboard, provided there as the service key. For more information follow the instructions in the videos found at the link below.
[How to get API key and redeem your voucher Step-by-Step Tutorial] - You can also find a step-by-step guide on how to get the API key and activate the API(s) by following this link Get The Service Key
- Then set the API KEY as part of the url parameter as shown below. Replace with your actual API key. The URL format: https://www.socialmediaautomation.uxlivinglab.online/api/v1/generate-sentences/
- Note: Make sure to activate your API from Dowell API Key System link provided above.

Python Example
This Python code sends a POST request to an API with various parameters. It specifies the deck, error rate, number of data shuffles, and a list of deck items. It prints the response text received from the API.
# Step 1: Import necessary libraries
import json
import requests
# Step 2: Define the URL of the API
url = "http://100072.pythonanywhere.com/api"
# Step 3: Prepare parameters to send in the request
params = {
"deck": 200, # User-defined value; can be changed but should be >= 100
"error": 1.67, # Value can change but should be a floating number
"test_num": 7, # Number of times the data given is shuffled
"deck_items": '1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100' # Items to be shuffled
}
# Step 4: Make a POST request to the API with provided parameters
get_response = requests.post(url, params)
# Step 5: Print the response received from the API
print(get_response.text)
PHP Example
This PHP code sends a POST request with the specified parameters to the API and echoes the response.
200, // User-defined value; can be changed but should be >= 100
"error" => 1.67, // Value can change but should be a floating number
"test_num" => 7, // Number of times the data given is shuffled
"deck_items" => '1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100' // Items to be shuffled
);
// Step 3: Initialize cURL session
$ch = curl_init();
// Step 4: Set the cURL options
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($params));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
// Step 5: Execute the cURL session
$response = curl_exec($ch);
// Step 6: Close the cURL session
curl_close($ch);
// Step 7: Print the response received from the API
echo $response;
?>
React Example
This React code sends a POST request to the API with the specified parameters and displays the response.
import React, { useState } from 'react';
import axios from 'axios';
const ShuffleAPIExample = () => {
// Step 2: Define the initial state for parameters
const [params, setParams] = useState({
deck: 200, // User-defined value; can be changed but should be >= 100
error: 1.67, // Value can change but should be a floating number
test_num: 7, // Number of times the data given is shuffled
deck_items: '1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100' // Items to be shuffled
});
// Step 4: Function to handle API call
const handleAPICall = async () => {
try {
// Step 4: Make a POST request to the API with provided parameters
const response = await axios.post('http://100072.pythonanywhere.com/api', params);
// Step 5: Print the response received from the API
console.log(response.data);
} catch (error) {
console.error('Error:', error);
}
};
return (
{/* Step 3: Form to input parameters */}
{/* Step 4: Button to trigger API call */}
);
};
export default ShuffleAPIExample;
Flutter Example
This Flutter code sends a POST request with the specified parameters to the API and displays the response.
import 'package:http/http.dart' as http;
void main() {
// Step 1: Define the URL of the API
final String apiUrl = "http://100072.pythonanywhere.com/api";
// Step 2: Prepare parameters to send in the request
Map params = {
"deck": 200, // User-defined value; can be changed but should be >= 100
"error": 1.67, // Value can change but should be a floating number
"test_num": 7, // Number of times the data given is shuffled
"deck_items":
'1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100' // Items to be shuffled
};
// Step 3: Make a POST request to the API with provided parameters
fetchData(apiUrl, params);
}
void fetchData(String url, Map params) async {
// Step 4: Make a POST request to the API with provided parameters
final response = await http.post(Uri.parse(url), body: params);
// Step 5: Print the response received from the API
print(response.body);
}
WordPress Example
Step 1: Set up the API name, unique ID and the base url(below). It’s a prerequisite to have WP-GET API plugin installed in your wordpress website

Step 2: Set up the api endpoint and the request body. the endpoint should have the api key and request body should have the necessary body post fields


Step 3: Test endpoint to get Json response from the API.
