{"repo":"UpCloudLtd/upcloud-go-api","free":true,"listed":false,"github":"https://github.com/UpCloudLtd/upcloud-go-api","clone":"git clone https://github.com/UpCloudLtd/upcloud-go-api.git","description":"Go client for UpCloud's API","language":"Go","stars":48,"topics":["upcloud","upcloud-api","api-client","golang","go","go-sdk"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"UpCloud Go API client library This is the official client for interfacing with UpCloud's API using the Go programming language. The features allows for easy and quick development and integration when using Go. Usage Quickstart Add the library to your project: Next in your code: Error handling Packages UpCloud Go SDK includes the following packages: - upcloud package - contains type definitions for all UpCloud API objects like servers, storages, load balancers, Kubernetes clusters, errors, etc. It also has a lot of constants that allow you, for example, to compare state, status and other properties of various objects. - client package - contains functions that allow you to create and customise HTTP client that will be used to make requests to UpCloud API. The returned client does expose some methods for making requests, but you shouldn't really use them directly, client should only be used to instantiate a new Service - service package - contains the Service type, which exposes all the methods to interact with UpCloud API. This is the package you will probably use most frequently. All Service methods accept context.Context as firt parameter. Most Service methods accept a request object as the second parameter (see package below). - request package - contains various request objects. Those objects should always be used as an argument for a Service method and allow you to provide additional params for the request URL or body. For example, when fetching details of a specific serv","default_branch":null,"files":null,"tree":[],"storefront":"/r/UpCloudLtd","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/UpCloudLtd/upcloud-go-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}