การวิเคราะห์ชื่อเสียงของแบรนด์ในทุกตลาด

ตรวจสอบว่าความครอบคลุมของแบรนด์เป็นบวก ลบ หรือเป็นกลางในหลายประเทศ โดยกรองตามคุณภาพของแหล่งข่าวและช่วงวันที่

พารามิเตอร์อินพุต

พารามิเตอร์คำอธิบายประเภทค่าเริ่มต้นจำเป็น
titleชื่อแบรนด์ที่จะค้นหาในหัวข้อข่าวstringใช่
source.country.codeรหัสประเทศหลายรหัส (คั่นด้วยจุลภาค)stringใช่
sort.byจัดเรียงตามคะแนนความรู้สึกstringใช่
sort.orderลำดับจากมากไปน้อยstringใช่
published_at.startวันที่เริ่มต้นสำหรับช่วงเวลาวิเคราะห์stringใช่
source.rank.opr.minอันดับคุณภาพแหล่งข่าวขั้นต่ำstringใช่
api_keyคีย์ API ของคุณstringใช่
per_pageจำนวนบทความสูงสุดที่จะดึงinteger25ไม่

ตัวอย่างขั้นตอนการทำงาน

คำขอสำหรับการวิเคราะห์ชื่อเสียงของแบรนด์ในตลาดต่างๆ:
curl -X GET "https://api.apitube.io/v1/news/everything?title=Samsung&source.country.code=us,kr,in&sort.by=sentiment.overall.score&sort.order=desc&published_at.start=2023-01-01&published_at.end=2023-01-31&source.rank.opr.min=6&api_key=YOUR_API_KEY"
คำขอสำหรับการวิเคราะห์ผลกระทบของการสนับสนุนแบรนด์:
curl -X GET "https://api.apitube.io/v1/news/everything?title=Rolex,sponsorship,tournament&published_at.start=2023-01-01&published_at.end=2023-01-31&sort.by=sentiment.overall.score&sort.order=desc&api_key=YOUR_API_KEY"
คำขอสำหรับการติดตามการจัดการวิกฤตของแบรนด์:
curl -X GET "https://api.apitube.io/v1/news/everything?title=Boeing%20737%20MAX&sentiment.overall.polarity=negative&published_at.start=2019-03-01&published_at.end=2019-03-31&sort.by=published_at&sort.order=asc&api_key=YOUR_API_KEY"
ดูว่าความครอบคลุมของแบรนด์เป็นบวก เป็นลบ หรือเป็นกลางในหลายภาษา:
curl -X GET "https://api.apitube.io/v1/news/everything?language.code=en,fr,de,ja&title=Netflix&sentiment.overall.polarity=positive&published_at.start=2023-01-01&published_at.end=2023-01-31&sort.by=published_at&api_key=YOUR_API_KEY"

ตัวอย่างที่เกี่ยวข้อง

สูตรสำหรับ cURL

curl --location --globoff --request POST 'https://api.apitube.io/v1/news/everything?title=Samsung&source.country.code=us%2Ckr%2Cin&sort.by=sentiment.overall.score&sort.order=desc&published_at.start=2023-01-01&source.rank.opr.min=6&api_key=YOUR_API_KEY&per_page=25' \
--header 'Content-Type: application/json'

สูตรสำหรับ Python

import requests

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

querystring = {
    "title": "Samsung",
    "source.country.code": "us,kr,in",
    "sort.by": "sentiment.overall.score",
    "sort.order": "desc",
    "published_at.start": "2023-01-01",
    "source.rank.opr.min": 6,
    "api_key": "YOUR_API_KEY",
    "per_page": 25
}
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: {
    "title": "Samsung",
    "source.country.code": "us,kr,in",
    "sort.by": "sentiment.overall.score",
    "sort.order": "desc",
    "published_at.start": "2023-01-01",
    "source.rank.opr.min": 6,
    "api_key": "YOUR_API_KEY",
    "per_page": 25
}};

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' => [
    'title' => 'Samsung',
    'source.country.code' => 'us,kr,in',
    'sort.by' => 'sentiment.overall.score',
    'sort.order' => 'desc',
    'published_at.start' => '2023-01-01',
    'source.rank.opr.min' => 6,
    'api_key' => 'YOUR_API_KEY',
    'per_page' => 25,
],
]);

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?title=Samsung&source.country.code=us%2Ckr%2Cin&sort.by=sentiment.overall.score&sort.order=desc&published_at.start=2023-01-01&source.rank.opr.min=6&api_key=YOUR_API_KEY&per_page=25")
		.method("POST", body)
		.addHeader("Content-Type", "application/json")
		.build();
Response response = client.newCall(request).execute();
		
  • CNN
  • Techcrunch
  • Vox
  • Apple
  • Microsoft
  • IBM
  • Bloomberg
  • Spotify
เราใช้คุกกี้

โดยการคลิก "ยอมรับ" คุณยอมรับคุกกี้บนอุปกรณ์ของคุณเพื่อให้เว็บไซต์ทำงานได้และเพื่อการวิเคราะห์