Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Usage examples

You must first get a API Token and the Project ID to access the metalstack.cloud api then export this as environment variables.

Grab a project with metalctl.

export API_TOKEN=yourapitoken
export PROJECT_ID=yourprojectuuid
export METAL_APISERVER_URL=metal-apiserver url

Then you can execute them as following:

# Golang:
go run go/ip-list.go

# Curl:
sh curl/ip-list.sh

# Python:
python python/ip-list.py

# TypeScript / JavaScript:
cd js && bun i && bun run ip-list.ts