{"id":37091735,"url":"https://github.com/liquidweb/go-lwapi","last_synced_at":"2026-01-14T11:10:18.257Z","repository":{"id":48222080,"uuid":"93876982","full_name":"liquidweb/go-lwApi","owner":"liquidweb","description":"Minimalist LiquidWeb API Golang client","archived":true,"fork":false,"pushed_at":"2021-08-04T20:35:56.000Z","size":36,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-10-20T17:50:26.479Z","etag":null,"topics":["golang","liquidweb"],"latest_commit_sha":null,"homepage":"https://godoc.org/github.com/liquidweb/go-lwApi","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liquidweb.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":"2017-06-09T16:21:52.000Z","updated_at":"2024-06-22T10:37:31.000Z","dependencies_parsed_at":"2022-09-02T19:51:58.214Z","dependency_job_id":null,"html_url":"https://github.com/liquidweb/go-lwApi","commit_stats":null,"previous_names":["liquidweb/go-lwinternalapi"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/liquidweb/go-lwApi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidweb%2Fgo-lwApi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidweb%2Fgo-lwApi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidweb%2Fgo-lwApi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidweb%2Fgo-lwApi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liquidweb","download_url":"https://codeload.github.com/liquidweb/go-lwApi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidweb%2Fgo-lwApi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28417981,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["golang","liquidweb"],"created_at":"2026-01-14T11:10:17.536Z","updated_at":"2026-01-14T11:10:18.249Z","avatar_url":"https://github.com/liquidweb.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-lwApi\nLiquidWeb API Golang client\n\n[![GoDoc](https://godoc.org/github.com/liquidweb/go-lwApi?status.svg)](https://godoc.org/github.com/liquidweb/go-lwApi)\n\n## Setting up Authentication\nWhen creating an api client, it expects to be configured via a configuration struct. Here is an example of how to get an api client.\n\n```\npackage main\n\nimport (\n\t\"fmt\"\n\n\tlwApi \"github.com/liquidweb/go-lwApi\"\n)\n\nfunc main() {\n\tconfig := lwApi.LWAPIConfig{\n\t\tUsername: \"ExampleUsername\",\n\t\tPassword: \"ExamplePassword\",\n\t\tUrl:      \"api.liquidweb.com\",\n\t}\n\tapiClient, iErr := lwApi.New(\u0026config)\n}\n```\n## Importing\n``` go\nimport (\n        lwApi \"github.com/liquidweb/go-lwApi\"\n)\n```\n## Calling a method\n``` go\napiClient, iErr := lwApi.New(\u0026config)\nif iErr != nil {\n  panic(iErr)\n}\nargs := map[string]interface{}{\n  \"uniq_id\": \"2UPHPL\",\n}\ngot, gotErr := apiClient.Call(\"bleed/asset/details\", args)\nif gotErr != nil {\n  panic(gotErr)\n}\nfmt.Printf(\"RETURNED:\\n\\n%+v\\n\\n\", got)\n```\n\nAs you can see, you don't need to prefix the `params` key, as that is handled in the `Call()` function for you.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliquidweb%2Fgo-lwapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliquidweb%2Fgo-lwapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliquidweb%2Fgo-lwapi/lists"}