{"id":16370265,"url":"https://github.com/dottorblaster/cloudatgost","last_synced_at":"2025-03-23T02:34:02.855Z","repository":{"id":28380082,"uuid":"31894179","full_name":"dottorblaster/cloudatgost","owner":"dottorblaster","description":"CloudAtCost API wrapper written in Go","archived":false,"fork":false,"pushed_at":"2016-04-12T15:25:41.000Z","size":29,"stargazers_count":15,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-18T06:03:33.112Z","etag":null,"topics":["api","cloudatcost","go"],"latest_commit_sha":null,"homepage":null,"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/dottorblaster.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}},"created_at":"2015-03-09T11:17:04.000Z","updated_at":"2021-06-24T19:25:19.000Z","dependencies_parsed_at":"2022-08-21T18:10:43.570Z","dependency_job_id":null,"html_url":"https://github.com/dottorblaster/cloudatgost","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dottorblaster%2Fcloudatgost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dottorblaster%2Fcloudatgost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dottorblaster%2Fcloudatgost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dottorblaster%2Fcloudatgost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dottorblaster","download_url":"https://codeload.github.com/dottorblaster/cloudatgost/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221843044,"owners_count":16890250,"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":["api","cloudatcost","go"],"created_at":"2024-10-11T03:04:31.342Z","updated_at":"2024-10-28T14:47:39.946Z","avatar_url":"https://github.com/dottorblaster.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cloudatGOst [![GoDoc](https://godoc.org/github.com/dottorblaster/cloudatgost?status.svg)](https://godoc.org/github.com/dottorblaster/cloudatgost) [![Build Status](https://travis-ci.org/dottorblaster/cloudatgost.svg?branch=master)](https://travis-ci.org/dottorblaster/cloudatgost)\n\nCloudAtCost API wrapper written in Go.\n\nAPI Version: `v1`\n\n## References\nhttps://github.com/cloudatcost/api\n\n## Installation\n```bash\n$ go get github.com/dottorblaster/cloudatgost\n```\n\n## Example\nTo interact with the CaC API you simply need to initialize a new client, passing to it your API key and your login.\n\n```go\npackage main\n\nimport (\n  \"github.com/dottorblaster/cloudatgost\"\n)\n\nfunc main() {\n\t// Initializes a new CloudAtCost client\n    client := cloudatgost.NewClient(\"johndoe@example.com\", \"myApiKey\", nil)\n\n    // d is defined as a TemplateList, a type that maps the JSON\n    // response of the listtemplates.php endpoint\n    first := client.ListTemplates()\n\n    // c is defined as a ServerList, a type that maps the JSON\n    // response of the listservers.php endpoint\n    second := client.ListServers()\n\n    // e is defined as a CacConsole, a type that maps the JSON\n    // response of the console.php endpoint. You need to provide\n    // to it a string containing the server ID.\n    third := client.Console(\"254484472\")\n  }\n```\n\n## License\ncloudatGOst is licensed under MIT License. (See LICENSE)\n\n## TODO\n- Refactoring to make all of this stuff more readable\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdottorblaster%2Fcloudatgost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdottorblaster%2Fcloudatgost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdottorblaster%2Fcloudatgost/lists"}