json Clearbit
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了json Clearbit相关的知识,希望对你有一定的参考价值。
{
"swagger": "2.0",
"info": {
"version": "1.0",
"title": "Clearbit Demo",
"description": "TODO: Add Description"
},
"host": "discovery.clearbit.com",
"basePath": "/v1/companies",
"securityDefinitions": {
"auth": {
"type": "basic",
"x-testValue": [],
"x-skip-client-authentication": false
}
},
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/search": {
"get": {
"description": "TODO: Add Description",
"summary": "Find Contacts - Job Title",
"tags": [
"Prospector"
],
"operationId": "SearchGet3",
"produces": [
"application/json"
],
"parameters": [
{
"name": "domain",
"in": "query",
"required": true,
"type": "string",
"description": ""
},
{
"name": "title",
"in": "query",
"required": true,
"type": "string",
"description": ""
},
{
"name": "email",
"in": "query",
"required": true,
"type": "boolean",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [
{
"auth": []
}
],
"x-unitTests": [
{
"request": {
"method": "GET",
"uri": "/search?domain=clearbit.com&title=growth&email=true"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Find Contacts - Job Title",
"x-testDescription": "TODO: Add Description"
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/v2/companies/find": {
"get": {
"description": "TODO: Add Description",
"summary": "Domain Lookup",
"tags": [
"Enrichment"
],
"operationId": "V2CompaniesFindGet",
"produces": [
"application/json"
],
"parameters": [
{
"name": "domain",
"in": "query",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [
{
"auth": []
}
],
"x-unitTests": [
{
"request": {
"method": "GET",
"uri": "/v2/companies/find?domain=blockchain.info"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Domain Lookup",
"x-testDescription": "TODO: Add Description"
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/find": {
"get": {
"description": "TODO: Add Description",
"summary": "Find Company by IP Address",
"tags": [
"Reveal"
],
"operationId": "FindGet2",
"produces": [
"application/json"
],
"parameters": [
{
"name": "ip",
"in": "query",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [
{
"auth": []
}
],
"x-unitTests": [
{
"request": {
"method": "GET",
"uri": "/find?ip=104.193.168.34"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Find Company by IP Address",
"x-testDescription": "TODO: Add Description"
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/shopify.com": {
"get": {
"description": "TODO: Add Description",
"summary": "Find Logo by Domain",
"tags": [
"Logo"
],
"operationId": "ShopifyComGet",
"produces": [
"application/json"
],
"parameters": [
{
"name": "size",
"in": "query",
"required": true,
"type": "integer",
"format": "int32",
"description": ""
},
{
"name": "format",
"in": "query",
"required": true,
"type": "string",
"description": ""
},
{
"name": "greyscale",
"in": "query",
"required": true,
"type": "boolean",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [
{
"auth": []
}
],
"x-unitTests": [
{
"request": {
"method": "GET",
"uri": "/shopify.com?size=200&format=png&greyscale=true"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Find Logo by Domain",
"x-testDescription": "TODO: Add Description"
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/v1/domains/find": {
"get": {
"description": "TODO: Add Description",
"summary": "Company Name to Domain",
"tags": [
"Name to Domain"
],
"operationId": "V1DomainsFindGet",
"produces": [
"application/json"
],
"parameters": [
{
"name": "name",
"in": "query",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [
{
"auth": []
}
],
"x-unitTests": [
{
"request": {
"method": "GET",
"uri": "/v1/domains/find?name=Clearbit"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Company Name to Domain",
"x-testDescription": "TODO: Add Description"
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/entities": {
"get": {
"description": "TODO: Add Description",
"summary": "By Name",
"tags": [
"Watchlist"
],
"operationId": "EntitiesGet",
"produces": [
"application/json"
],
"parameters": [
{
"name": "name",
"in": "query",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [
{
"auth": []
}
],
"x-unitTests": [
{
"request": {
"method": "GET",
"uri": "/entities?name=Test Tafsir"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "By Name",
"x-testDescription": "TODO: Add Description"
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
}
}
}
以上是关于json Clearbit的主要内容,如果未能解决你的问题,请参考以下文章
python中json文件处理涉及的四个函数json.dumps()和json.loads()json.dump()和json.load()的区分
JSON相关 JSON在线解析 JSON压缩转义工具 JSON着色工具 JSON 在线格式化工具 在线XML/JSON互相转换工具 XMLJSON在线转换