{"id":16318980,"url":"https://github.com/sqlwwx/tuling123-client","last_synced_at":"2025-05-13T18:22:23.562Z","repository":{"id":57382153,"uuid":"135572733","full_name":"sqlwwx/tuling123-client","owner":"sqlwwx","description":null,"archived":false,"fork":false,"pushed_at":"2018-05-31T15:39:40.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-22T23:49:10.536Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CoffeeScript","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/sqlwwx.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":"2018-05-31T11:06:39.000Z","updated_at":"2019-02-13T07:01:14.000Z","dependencies_parsed_at":"2022-09-26T16:50:15.311Z","dependency_job_id":null,"html_url":"https://github.com/sqlwwx/tuling123-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlwwx%2Ftuling123-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlwwx%2Ftuling123-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlwwx%2Ftuling123-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlwwx%2Ftuling123-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sqlwwx","download_url":"https://codeload.github.com/sqlwwx/tuling123-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254001103,"owners_count":21997492,"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-10-10T22:25:19.685Z","updated_at":"2025-05-13T18:22:23.533Z","avatar_url":"https://github.com/sqlwwx.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tuling123-client\n## Installation\n```shell\nnpm install tuling123-client\n```\n## Getting Started\n\n```\nRobot = require 'tuling123-client'\nrobot = new Robot(\n  '0a4114ff7687944016c9d50a07eb0f250',\n  'http://www.tuling123.com/openapi/api',\n  (info, options) -\u003e\n    if info.startsWith '#'\n      'start command ' + info.substr 1\n    else\n      null\n)\nrobot.ask('你好', userid: 'wwx').then console.log\nrobot.ask('#list', userid: 'wwx').then console.log\nrobot.ask('#list', userid: 'wwx', (info, options) -\u003e\n  if info.startsWith '#'\n    'start command ' + info.substr(1) + ' for ' + options.userid\n  else\n    null\n).then console.log\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqlwwx%2Ftuling123-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsqlwwx%2Ftuling123-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqlwwx%2Ftuling123-client/lists"}