{"id":22941767,"url":"https://github.com/zacksleo/jingdong-sdk","last_synced_at":"2025-04-01T20:49:52.916Z","repository":{"id":57089029,"uuid":"199106893","full_name":"zacksleo/jingdong-sdk","owner":"zacksleo","description":"京东宙斯 sdk ","archived":false,"fork":false,"pushed_at":"2019-09-17T01:23:26.000Z","size":6,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-10T04:09:16.988Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zacksleo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-27T02:48:41.000Z","updated_at":"2021-03-02T09:59:40.000Z","dependencies_parsed_at":"2022-08-20T16:00:27.922Z","dependency_job_id":null,"html_url":"https://github.com/zacksleo/jingdong-sdk","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacksleo%2Fjingdong-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacksleo%2Fjingdong-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacksleo%2Fjingdong-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zacksleo%2Fjingdong-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zacksleo","download_url":"https://codeload.github.com/zacksleo/jingdong-sdk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246709912,"owners_count":20821298,"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":[],"created_at":"2024-12-14T13:44:57.992Z","updated_at":"2025-04-01T20:49:52.883Z","avatar_url":"https://github.com/zacksleo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e jingdong-sdk \u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e 京东宙斯 SDK.\u003c/p\u003e\n\n\n## Installing\n\n```shell\n$ composer require zacksleo/jingdong-sdk -vvv\n```\n\n## Usage\n\n### 创建客户端\n\n```php\n$jingdong = new Jingdong([\n    'key'    =\u003e 'key',\n    'secret' =\u003e 'secret',\n    'debug'  =\u003e false,\n    'log'    =\u003e [\n        'name'       =\u003e 'jingdong',\n        'file'       =\u003e '/path/to/logs/jingdong.log'),\n        'level'      =\u003e 'debug',\n        'permission' =\u003e 0777,\n    ],\n]);\n```\n\n### 调用\n\n#### 链式调用\n\n```php\n$res = $jingdong-\u003epop-\u003eorder-\u003eget([\n    'order_state' =\u003e 'WAIT_SELLER_DELIVERY',\n    'optional_fields' =\u003e 'venderId,orderType,payType',\n    'order_id' =\u003e '67834311',\n]);\n```\n\n#### 普通调用\n\n```php\n\n$res = $jingdong-\u003erequest('pop.order.get', [\n    'order_state' =\u003e 'WAIT_SELLER_DELIVERY',\n    'optional_fields' =\u003e 'venderId,orderType,payType',\n    'order_id' =\u003e '67834311',\n]);\n\n```\n\n## Contributing\n\nYou can contribute in one of three ways:\n\n1. File bug reports using the [issue tracker](https://github.com/zacksleo/jingdong-sdk/issues).\n2. Answer questions or fix bugs on the [issue tracker](https://github.com/zacksleo/jingdong-sdk/issues).\n3. Contribute new features or update the wiki.\n\n_The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable._\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzacksleo%2Fjingdong-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzacksleo%2Fjingdong-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzacksleo%2Fjingdong-sdk/lists"}