The sorting order of the results would be a query parameter sort with a value. the format of the value would be field:1 for ascending order and field:-1 for descending order.
# Here are examples to sort by "Created" date.#Sort by date created descending:https://api.dyntube.com/v1/members?sort=Created:-1#Sort by date created ascending:https://api.dyntube.com/v1/members?sort=Created:1
import requestsurl ="https://api.dyntube.com/v1/members"response = requests.get(url)if response.status_code ==200: data = response.json() members = data["members"]for member in members:print(member)else:print("Failed to get members. Status code:", response.status_code)
PHP
$url ="https://api.dyntube.com/v1/members";$response =file_get_contents($url);if ($response) { $data =json_decode($response,true); $members = $data["members"];foreach ($members as $member) {print_r($member); }} else {echo"Failed to get members.";}