{"id":20144730,"url":"https://github.com/widuu/sendcloud","last_synced_at":"2025-04-09T19:17:19.296Z","repository":{"id":36888944,"uuid":"41195939","full_name":"widuu/SendCloud","owner":"widuu","description":"Sohu SendCloud PHP SDK","archived":false,"fork":false,"pushed_at":"2018-02-01T09:39:06.000Z","size":21,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T19:17:13.455Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/widuu.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":"2015-08-22T07:20:02.000Z","updated_at":"2017-05-11T15:42:29.000Z","dependencies_parsed_at":"2022-09-01T03:11:17.471Z","dependency_job_id":null,"html_url":"https://github.com/widuu/SendCloud","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/widuu%2FSendCloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widuu%2FSendCloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widuu%2FSendCloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widuu%2FSendCloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/widuu","download_url":"https://codeload.github.com/widuu/SendCloud/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248094988,"owners_count":21046770,"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-11-13T22:11:53.978Z","updated_at":"2025-04-09T19:17:19.270Z","avatar_url":"https://github.com/widuu.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"SendCloud PHP SDK\n===\n\n![sendcloud](http://sendcloud.sohu.com/img/home/logo-.png)\n\n##安装\n    \n    composer require widuu/sendcloud:@dev\n\n##使用方法\n\n### 获取用户信息( 在examples 文件夹中)\n\n    //自己的API_User和API_KEY\n\n    define('API_USER','ttchina_ses');\n\n    define('API_KEY','7Ag7e2JzMp36E9pq');\n\n    require 'vendor/autoload.php';\n\n    // 获取用户信息\n    $userinfo = Sendcloud\\User::get_userinfo();\n    print_r($userinfo);\n\n    // 获取API User \n    // 参数为空默认为1  0(触发), 1(批量)\n    $api_user = Sendcloud\\User::get_apiuser();\n    print_r($api_user);\n\n    // 域名查询\n    // 0 测试域名 1 正常域名\n\n    $domain = Sendcloud\\User::get_domain();\n    print_r($domain);\n\n\u003e 如果你使用的ThinkPHP,你可以直接将，Sendcloud文件夹放到Thinkphp\\Library下使用。\n\n##TODO\n\n1. 因为开发时间特别紧就3个小时，所以BUG会不少，需要修复BUG。\n2. 完善examples中的使用方法，都针对各个类库使用。\n3. 优化代码，还是开发速度时间太紧造成大量的代码堆积状况出现，所以需要优化。\n4. 完善整个SDK\n\n## Contributing\n\n1. 登录 \u003chttps://coding.net\u003e 或 \u003chttps://github.com\u003e\n2. 创建您的特性分支 (`git checkout -b my-new-feature`)\n3. 提交您的改动 (`git commit -am 'Added some feature'`)\n4. 将您的改动记录提交到远程 git 仓库 (`git push origin my-new-feature`)\n5. 然后到 coding 网站的该 git 远程仓库的 `my-new-feature` 分支下发起 Pull Request\n\n##其他信息\n\nblog地址：[http://www.widuu.com](http://www.widuu.com)\n\n新浪微博：[http://weibo.com/widuu](http://weibo.com/widuu)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiduu%2Fsendcloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwiduu%2Fsendcloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiduu%2Fsendcloud/lists"}