add more server ordering / transaction calls
This commit is contained in:
		@@ -1,3 +1,15 @@
 | 
			
		||||
// Get all available products (servers) that we can order and print them in a table
 | 
			
		||||
let available_server_products = hetzner.get_server_ordering_product_overview();
 | 
			
		||||
available_server_products.pretty_print();
 | 
			
		||||
// // Get all available products (servers) that we can order and print them in a table
 | 
			
		||||
// let available_server_products = hetzner.get_server_ordering_product_overview();
 | 
			
		||||
// available_server_products.pretty_print();
 | 
			
		||||
 | 
			
		||||
// // List the details from a specific sever product based on the ID
 | 
			
		||||
// let example_server_product = hetzner.get_server_ordering_product_by_id("AX41-NVMe");
 | 
			
		||||
// print(example_server_product);
 | 
			
		||||
 | 
			
		||||
// List all the transactions from the past 30 days
 | 
			
		||||
// let transactions_last_30 = hetzner.get_transactions();
 | 
			
		||||
// print(transactions_last_30);
 | 
			
		||||
 | 
			
		||||
let example_transaction = hetzner.get_transaction_by_id("2111181");
 | 
			
		||||
print(example_transaction);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user