{"id":26769866,"url":"https://github.com/nmishin/leaseweb-cli","last_synced_at":"2025-04-15T16:50:43.417Z","repository":{"id":281566861,"uuid":"941454388","full_name":"Nmishin/leaseweb-cli","owner":"Nmishin","description":"The command line interface for Leaseweb API","archived":false,"fork":false,"pushed_at":"2025-03-29T20:59:02.000Z","size":51,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T06:50:16.652Z","etag":null,"topics":["leaseweb","leaseweb-api"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nmishin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-02T10:33:19.000Z","updated_at":"2025-03-29T21:00:10.000Z","dependencies_parsed_at":"2025-03-27T00:31:11.135Z","dependency_job_id":null,"html_url":"https://github.com/Nmishin/leaseweb-cli","commit_stats":null,"previous_names":["nmishin/leaseweb-cli"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nmishin%2Fleaseweb-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nmishin%2Fleaseweb-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nmishin%2Fleaseweb-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nmishin%2Fleaseweb-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nmishin","download_url":"https://codeload.github.com/Nmishin/leaseweb-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249112988,"owners_count":21214807,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["leaseweb","leaseweb-api"],"created_at":"2025-03-28T22:39:01.508Z","updated_at":"2025-04-15T16:50:43.411Z","avatar_url":"https://github.com/Nmishin.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Leaseweb CLI\n\nThis tool interacts with Leaseweb's API, allowing users to retrieve details about dedicated servers. It includes commands like `get` to fetch server details and `get-hardware` to retrieve hardware information.\n\n### Install\nDownload the binary from the [Releases page](https://github.com/Nmishin/leaseweb-cli/releases).\n\n### Build\n```bash\ngit clone git@github.com:Nmishin/leaseweb-cli.git\ncd leaseweb-cli\ngo build -o leaseweb\n```\n\n### Generate your API Key\nYou can generate your API key at the [Customer Portal](https://secure.leaseweb.com/)\n\n### Authentication\nFor authentication need to export API Key from previous step, or set it as `--api-key` flag.\n```bash\nexport LEASEWEB_API_KEY=\u003c\u003e\n```\n\n---\n```bash\n$ leaseweb-cli dedicated-server -h\nManage dedicated servers\n\nUsage:\n  leaseweb-cli dedicated-server [command]\n\nAvailable Commands:\n  get                  Retrieve details of the server\n  get-contract-renewal Retrieve next contract renewal date in milliseconds since epoch\n  get-creds            Retrieve the server credentials\n  get-hardware         Retrieve hardware details of the server\n  get-ip               Describe the server IP\n  get-ips              List the server IPs\n  list                 Retrieve the list of servers\n  power-off            Power off the server\n  power-on             Power on the server\n  reboot               Power cycle the server\n\nFlags:\n  -h, --help   help for dedicated-server\n\nGlobal Flags:\n      --api-key string   Leaseweb API key (optional, overrides LEASEWEB_API_KEY)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnmishin%2Fleaseweb-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnmishin%2Fleaseweb-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnmishin%2Fleaseweb-cli/lists"}