{"id":23140848,"url":"https://github.com/f0cii/okex-api","last_synced_at":"2025-08-17T13:31:31.404Z","repository":{"id":57519238,"uuid":"248676533","full_name":"f0cii/okex-api","owner":"f0cii","description":"OKEx Open API V3 SDK (Golang Version)","archived":false,"fork":false,"pushed_at":"2020-07-24T02:30:17.000Z","size":212,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-05T07:33:00.776Z","etag":null,"topics":["golang","okex-api"],"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/f0cii.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":"2020-03-20T05:37:50.000Z","updated_at":"2024-10-11T21:01:16.000Z","dependencies_parsed_at":"2022-09-06T03:42:18.766Z","dependency_job_id":null,"html_url":"https://github.com/f0cii/okex-api","commit_stats":null,"previous_names":["f0cii/okex-api","frankrap/okex-api"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/f0cii/okex-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f0cii%2Fokex-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f0cii%2Fokex-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f0cii%2Fokex-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f0cii%2Fokex-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/f0cii","download_url":"https://codeload.github.com/f0cii/okex-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f0cii%2Fokex-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270856550,"owners_count":24657688,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","okex-api"],"created_at":"2024-12-17T14:11:50.499Z","updated_at":"2025-08-17T13:31:31.139Z","avatar_url":"https://github.com/f0cii.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# okex-api\nOKEx Open API V3 SDK (Golang Version)\n\n-----\n\n### 1.Downloads or updates OKEX code's dependencies, in your command line:\n\n```\ngo get -u github.com/frankrap/okex-api\n```\n### 2.Write the go file. warm tips: test go file, must suffix *_test.go, eg: okex_open_api_v3_test.go\n```\npackage gotest\n\nimport (\n\t\"fmt\"\n\t\"github.com/frankrap/okex-api\"\n\t\"testing\"\n)\n\nfunc TestOKExServerTime(t *testing.T) {\n\tserverTime, err := okex.NewOKExClient().GetServerTime()\n\tif err != nil {\n\t\tt.Error(err)\n\t}\n\tfmt.Println(\"OKEx's server time: \", serverTime)\n}\n\nfunc NewOKExClient() *okex.Client {\n\tvar config okex.Config\n\tconfig.Endpoint = \"https://www.okex.com/\"\n\tconfig.ApiKey = \"\"\n\tconfig.SecretKey = \"\"\n\tconfig.Passphrase = \"\"\n\tconfig.TimeoutSecond = 45\n\tconfig.IsPrint = true\n\tconfig.I18n = okex.ENGLISH\n\n\tclient := okex.NewClient(config)\n\treturn client\n}\n```\n### 3. run test go:\n```\ngo test -v -run TestOKExServerTime okex_open_api_v3_test.go\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff0cii%2Fokex-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ff0cii%2Fokex-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff0cii%2Fokex-api/lists"}