企业社会责任报道分析

追踪多家组织的 CSR 和 ESG 报道。按情绪和关键词过滤

输入参数

参数描述类型默认必需
organization.name多个组织(逗号分隔)。string是
titleCSR/ESG主题的关键字(逗号分隔)。string是
published_at.start开始日期过滤器。string是
sentiment.overall.polarity按情绪过滤。string是
source.rank.opr.min最小来源质量。string是
api_key您的 API 密钥string是
per_page要检索的最大文章数integer30否

工作流程示例

企业社会责任:
curl -X GET "https://api.apitube.io/v1/news/everything?organization.name=Microsoft,Google,Amazon&title=sustainability,ESG,green&published_at.start=2023-01-01&published_at.end=2023-01-31&sentiment.overall.polarity=positive&api_key=YOUR_API_KEY"
高管领导层变动分析:
curl -X GET "https://api.apitube.io/v1/news/everything?organization.name=The%20Walt%20Disney%20Company&title=CEO&published_at.start=2022-01-01&published_at.end=2022-01-31&sort.by=published_at&sort.order=asc&api_key=YOUR_API_KEY"

相关示例

食谱 cURL

curl --location --globoff --request POST 'https://api.apitube.io/v1/news/everything?organization.name=Microsoft%2CGoogle%2CAmazon&title=sustainability%2CESG%2Cgreen&published_at.start=2023-01-01&sentiment.overall.polarity=positive&source.rank.opr.min=0.7&api_key=YOUR_API_KEY&per_page=30' \
--header 'Content-Type: application/json'

食谱 Python

import requests

url = "https://api.apitube.io/v1/news/everything"

querystring = {
    "organization.name": "Microsoft,Google,Amazon",
    "title": "sustainability,ESG,green",
    "published_at.start": "2023-01-01",
    "sentiment.overall.polarity": "positive",
    "source.rank.opr.min": 0.7,
    "api_key": "YOUR_API_KEY",
    "per_page": 30
}
response = requests.request("GET", url, params=querystring)

print(response.text)

食谱 Javascript

import axios from "axios"

const options = {
		method: 'GET',
		url: 'https://api.apitube.io/v1/news/everything',
		params: {
    "organization.name": "Microsoft,Google,Amazon",
    "title": "sustainability,ESG,green",
    "published_at.start": "2023-01-01",
    "sentiment.overall.polarity": "positive",
    "source.rank.opr.min": 0.7,
    "api_key": "YOUR_API_KEY",
    "per_page": 30
}};

axios.request(options).then(function (response) {
		console.log(response.data);
}).catch(function (error) {
		console.error(error);
});

食谱 PHP

require 'vendor/autoload.php';

use GuzzleHttp\Client;

$client = new Client();
$response = $client->request('GET', 'https://api.apitube.io/v1/news/everything', [
	'query' => [
    'organization.name' => 'Microsoft,Google,Amazon',
    'title' => 'sustainability,ESG,green',
    'published_at.start' => '2023-01-01',
    'sentiment.overall.polarity' => 'positive',
    'source.rank.opr.min' => 0.7,
    'api_key' => 'YOUR_API_KEY',
    'per_page' => 30,
],
]);

echo $response->getBody();

食谱 Java

OkHttpClient client = new OkHttpClient().newBuilder().build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
		.url("https://api.apitube.io/v1/news/everything?organization.name=Microsoft%2CGoogle%2CAmazon&title=sustainability%2CESG%2Cgreen&published_at.start=2023-01-01&sentiment.overall.polarity=positive&source.rank.opr.min=0.7&api_key=YOUR_API_KEY&per_page=30")
		.method("POST", body)
		.addHeader("Content-Type", "application/json")
		.build();
Response response = client.newCall(request).execute();
		
  • CNN
  • Techcrunch
  • Vox
  • Apple
  • Microsoft
  • IBM
  • Bloomberg
  • Spotify
我们使用 Cookie

点击“接受”即表示您同意在您的设备上使用 Cookie,以使网站正常运行并用于分析。