{"action":"created","issue":{"url":"https://api.github.com/repos/imu-hupeng/cos-python3-sdk/issues/7","repository_url":"https://api.github.com/repos/imu-hupeng/cos-python3-sdk","labels_url":"https://api.github.com/repos/imu-hupeng/cos-python3-sdk/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/imu-hupeng/cos-python3-sdk/issues/7/comments","events_url":"https://api.github.com/repos/imu-hupeng/cos-python3-sdk/issues/7/events","html_url":"https://github.com/imu-hupeng/cos-python3-sdk/issues/7","id":337296171,"node_id":"MDU6SXNzdWUzMzcyOTYxNzE=","number":7,"title":"没办法上传文件，返回的url是none","user":{"login":"dempsey123","id":26816616,"node_id":"MDQ6VXNlcjI2ODE2NjE2","avatar_url":"https://avatars3.githubusercontent.com/u/26816616?v=4","gravatar_id":"","url":"https://api.github.com/users/dempsey123","html_url":"https://github.com/dempsey123","followers_url":"https://api.github.com/users/dempsey123/followers","following_url":"https://api.github.com/users/dempsey123/following{/other_user}","gists_url":"https://api.github.com/users/dempsey123/gists{/gist_id}","starred_url":"https://api.github.com/users/dempsey123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dempsey123/subscriptions","organizations_url":"https://api.github.com/users/dempsey123/orgs","repos_url":"https://api.github.com/users/dempsey123/repos","events_url":"https://api.github.com/users/dempsey123/events{/privacy}","received_events_url":"https://api.github.com/users/dempsey123/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-07-01T14:40:18Z","updated_at":"2018-07-02T03:16:44Z","closed_at":null,"author_association":"NONE","body":"def CreateFolder_Tecent():\r\n    cos = Cos(app_id=1256960769,secret_id='AKIDAlGaXKVLZcT9exqi8PVP7ez97tTxOOK5',secret_key='iEYfhYFoESUKzSkYEilhWBg097tX2Pdg',region='gz')\r\n    bucket = cos.get_bucket(\"ExcelFile\")\r\n    bucket.create_folder(\"/ExcelFileUser\")\r\n    print(\"create bucket success\")\r\n\r\ndef exportExcelFile():\r\n    cos = Cos(app_id=1256960769,secret_id='AKIDAlGaXKVLZcT9exqi8PVP7ez97tTxOOK5',secret_key='iEYfhYFoESUKzSkYEilhWBg097tX2Pdg',region='gz')\r\n    bucket = cos.get_bucket(\"ExcelFile\")\r\n    real_file_path=\"/Users/dempsey/Desktop/Sample.xlsx\"\r\n    file_name_inBucket = \"Sample.xlsx\"\r\n    dir_name = \"/ExcelFileUser\"\r\n    data=bucket.upload_file(real_file_path,file_name_inBucket,dir_name)\r\n    query=bucket.query_folder(dir_name)\r\n    print(data)\r\n    print(query)\r\n    return"},"comment":{"url":"https://api.github.com/repos/imu-hupeng/cos-python3-sdk/issues/comments/401660405","html_url":"https://github.com/imu-hupeng/cos-python3-sdk/issues/7#issuecomment-401660405","issue_url":"https://api.github.com/repos/imu-hupeng/cos-python3-sdk/issues/7","id":401660405,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTY2MDQwNQ==","user":{"login":"dempsey123","id":26816616,"node_id":"MDQ6VXNlcjI2ODE2NjE2","avatar_url":"https://avatars3.githubusercontent.com/u/26816616?v=4","gravatar_id":"","url":"https://api.github.com/users/dempsey123","html_url":"https://github.com/dempsey123","followers_url":"https://api.github.com/users/dempsey123/followers","following_url":"https://api.github.com/users/dempsey123/following{/other_user}","gists_url":"https://api.github.com/users/dempsey123/gists{/gist_id}","starred_url":"https://api.github.com/users/dempsey123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dempsey123/subscriptions","organizations_url":"https://api.github.com/users/dempsey123/orgs","repos_url":"https://api.github.com/users/dempsey123/repos","events_url":"https://api.github.com/users/dempsey123/events{/privacy}","received_events_url":"https://api.github.com/users/dempsey123/received_events","type":"User","site_admin":false},"created_at":"2018-07-02T03:16:44Z","updated_at":"2018-07-02T03:16:44Z","author_association":"NONE","body":"尝试过，事先创建一个但是也不行。而且这个我看网上code：-199的错误，并非是这个invalid_bucket_name"}}
{"actor":{"display_login":"dempsey123"}}