Seller Retrieve All User Variables
End/Modify user data and sessions directly securely.
Retrieve all variables stored for a specific user.
Endpoint Details
GET
/api/seller_retrieve_all_user_variables.php
Query Parameters
| Parameter | Required | Description |
|---|---|---|
| sellerkey | Yes | Seller API Key |
| username | Yes | Username |
Success Response
{
"success": true,
"username": "user1",
"variables": [
{
"variable_name": "coins",
"variable_data": "100",
"created_at": "2024-01-01 12:00:00"
}
]
}
Code Examples
fetch("http://localhost/commen/api/seller_retrieve_all_user_variables.php?sellerkey=KEY&username=USER")
.then(r => r.json())
.then(console.log);
<?php echo file_get_contents( "http://localhost/commen/api/seller_retrieve_all_user_variables.php?sellerkey=KEY&username=USER" ); ?>
import requests
r = requests.get("http://localhost/commen/api/seller_retrieve_all_user_variables.php", params={
"sellerkey":"KEY",
"username":"USER"
})
print(r.text)
var client = new RestClient( "http://localhost/commen/api/seller_retrieve_all_user_variables.php?sellerkey=KEY&username=USER" ); var res = client.Execute(new RestRequest(Method.GET)); Console.WriteLine(res.Content);