{"id":13337841,"url":"https://github.com/ipfans/tiktok","last_synced_at":"2025-07-29T22:33:28.473Z","repository":{"id":36953054,"uuid":"439292580","full_name":"ipfans/tiktok","owner":"ipfans","description":"Go SDK for Tiktok Shop Open Platform","archived":false,"fork":false,"pushed_at":"2023-03-07T01:57:07.000Z","size":372,"stargazers_count":24,"open_issues_count":5,"forks_count":11,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-07-30T20:54:19.841Z","etag":null,"topics":["tiktok","tiktok-api","tiktok-sdk"],"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/ipfans.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}},"created_at":"2021-12-17T10:20:32.000Z","updated_at":"2024-06-12T08:39:54.000Z","dependencies_parsed_at":"2023-07-13T05:03:49.631Z","dependency_job_id":null,"html_url":"https://github.com/ipfans/tiktok","commit_stats":null,"previous_names":["ipfans/tiktok-sdk"],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfans%2Ftiktok","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfans%2Ftiktok/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfans%2Ftiktok/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfans%2Ftiktok/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ipfans","download_url":"https://codeload.github.com/ipfans/tiktok/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228054429,"owners_count":17862129,"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":["tiktok","tiktok-api","tiktok-sdk"],"created_at":"2024-07-29T19:15:03.113Z","updated_at":"2024-12-04T06:13:31.512Z","avatar_url":"https://github.com/ipfans.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tiktok\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/ipfans/tiktok-sdk.svg)](https://pkg.go.dev/github.com/ipfans/tiktok-sdk)\n[![Go Report Card](https://goreportcard.com/badge/github.com/ipfans/tiktok-sdk)](https://goreportcard.com/report/github.com/ipfans/tiktok-sdk)\n[![build](https://github.com/ipfans/tiktok/actions/workflows/ci.yml/badge.svg)](https://github.com/ipfans/tiktok/actions/workflows/ci.yml)\n[![Coverage Status](https://coveralls.io/repos/github/ipfans/tiktok/badge.svg?branch=master)](https://coveralls.io/github/ipfans/tiktok?branch=master)\n\nGo SDK for Tiktok Shop Open Platform.\n\n## Feature\n\n- [x] Authentication\n  - [x] Get your auth code url\n  - [x] Use auth code to get access_token\n  - [x] Refresh your access token\n- [ ] Webhook\n- [x] Order API\n  - [x] GetOrderList\n  - [x] GetOrderDetail\n  - [x] ShipOrder\n- [x] Fulfillment API\n  - [x] SearchPreCombinePkg\n  - [x] ConfirmPreCombinePkg\n  - [x] RemovePackageOrder\n  - [x] GetPackagePickupConfig\n  - [x] ShipPackage\n  - [x] SearchPackage\n  - [x] GetPackageDetail\n  - [x] GetPackageShippingInfo\n  - [x] UpdatePackageShippingInfo\n  - [x] GetPackageShippingDocument\n  - [x] VerifyOrderSplit\n  - [x] ConfirmOrderSplit\n- [x] Logistics API\n  - [x] GetShippingInfo\n  - [x] UpdateShippingInfo\n  - [x] GetShippingDocument\n  - [x] GetWarehouseList\n  - [x] GetShippingProvider\n- [x] Product API\n  - [x] GetCategory\n  - [x] GetAttribute\n  - [x] GetCategoryRule\n  - [x] GetBrand\n  - [x] UploadImg\n  - [x] UploadFile\n  - [x] CreateProduct\n  - [x] EditProduct\n  - [x] GetProductList\n  - [x] GetProductDetail\n  - [x] UpdatePrice\n  - [x] UpdateStock\n  - [x] DeactivateProducts\n  - [x] DeleteProducts\n  - [x] RecoverProduct\n  - [x] ActivateProduct\n- [x] Shop API\n  - [x] GetAuthorizedShop\n- [x] Finance API\n  - [x] SearchSettlements\n  - [x] GetOrderSettlements\n  - [x] SearchTransactions\n- [x] Reverse Order API\n  - [x] ConfirmReverse\n  - [x] RejectReverse\n  - [x] GetReverseList\n  - [x] GetReverseReason\n\n### TODO\n\n- [ ] All Feature supports\n- [ ] Integraion tests\n\n## API Call Flow\n\nhttps://bytedance.feishu.cn/docs/doccnZ15f4vPK4qOOBTKhgc2xNh\n\n## HOWTO Contribuate\n\nInstall [`taskfile`](https://taskfile.dev) before you start.\n\n### Setup Intergration Environment Variables\n\nedit `.env` file in root directory:\n\n```env\nAPPKEY=\u003capp id for tiktok\u003e\nAPPSECRET=\u003capp secret for tiktok\u003e\nAK=\u003caccess token\u003e\nRK=\u003crefresh token\u003e\nOPENID=\u003cseller's openid\u003e\nSELLER=\u003cseller's name\u003e\n```\n### Run Tests\n\n```bash\ntask  # run tests.\ntask integration # run integration tests.\n```\n\nIf env is not setup, all integration tests will be skipped.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipfans%2Ftiktok","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fipfans%2Ftiktok","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipfans%2Ftiktok/lists"}