Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
K
kb
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • granite
  • kb
  • Wiki
    • Task
  • submit_api

submit_api · Changes

Page history
update: 工商数据更新任务提交 authored Aug 16, 2021 by 宋志鹏's avatar 宋志鹏
Show whitespace changes
Inline Side-by-side
Showing with 68 additions and 2 deletions
+68 -2
  • task/submit_api.md task/submit_api.md +68 -2
  • No files found.
task/submit_api.md
View page @ 00a7bda9
### 1. 工商任务提交 ### 1. 工商任务提交
* 接口地址:http://icfresher.shuidi.cn/task/ * 接口地址:http://icfresher.shuidi.cn/task/ 或 http://10.8.6.222:8518/task/
* 方式: post * 方式: post
* 参数: json格式 * 参数: json格式
``` ```
...@@ -12,3 +12,69 @@ ...@@ -12,3 +12,69 @@
"rt": true "rt": true
} }
``` ```
data_type参数说明
* data_type取值范围
| data_type | 爬取维度 |
| ------ | ------ |
| change | 基本信息+变更记录 |
| employee | 基本信息+主要人员 |
| partner | 基本信息+工商公示股东 |
| branch | 基本信息+分支机构 |
| abnormal | 基本信息+经营异常 |
| illegal | 基本信息+严重违法 |
| check | 基本信息+抽查检查 |
| clear | 基本信息+清算信息 |
| punish | 基本信息+行政处罚 |
| allow | 基本信息+行政许可 |
| justice | 基本信息+司法协助 |
| chattel | 基本信息+动产抵押 |
| pledge | 基本信息+股权出质 |
| sample_cancel | 基本信息+简易注销 |
| intellectual | 基本信息+知识产权出质 |
* data_type可指定多个值,用","分割,例如: data_type: "change,partner,employee"
* data_type取值不包括 年报,年报爬取有单独的提交任务接口
### 2.工商年报任务提交
* 接口地址:http://arfresher.shuidi.cn/task/ 或 http://10.8.6.222:8525/task/
* 方式: post
* 参数: json格式
```json
在总局pc更新
{
"company_name_digest": "3e17bd1707ccd0b63c13d4e7c7478c38",
"company_name": "杭州九匹马科技有限公司",
"credit_no": "91330108583235943R",
"search_key": "91330108583235943R",
"data_type": "annual_report",
"annual_report_years": ["2020"],
"spider_name": "www_gsxt_gov_cn",
"task_result": 5000,
"rt": true
}
在总局app更新
{
"company_name_digest": "3e17bd1707ccd0b63c13d4e7c7478c38",
"company_name": "杭州九匹马科技有限公司",
"credit_no": "91330108583235943R",
"search_key": "91330108583235943R",
"data_type": "annual_report",
"annual_report_years": ["2020"],
"rt": true
}
```
参数说明:
* annual_report_years可指定多个年份,例如: annual_report_years: ["2020", "2019"], 不指定默认爬取近4年年报
Clone repository
  • README
  • basic_guidelines
  • basic_guidelines
    • basic_guidelines
    • dev_guide
    • project_build
    • 开发流程
  • best_practice
  • best_practice
    • AlterTable
    • RDS
    • azkaban
    • create_table
    • design
    • elasticsearch
    • elasticsearch
      • ES运维
    • logstash
View All Pages