エンゲージメント順に並べ替えられた速報、画像と動画付き

エンゲージメント可能性でニュース速報をソートします。メディア要件とソース品質でフィルタリングします

入力パラメータ

パラメータ説明タイプデフォルト必須
is_breaking速報記事をフィルタリングします。integer1はい
media.images.count.min画像の最小数。integerはい
sort.byエンゲージメントスコアで並べ替え。stringはい
sort.order降順。stringはい
source.rank.opr.min最小ソース品質。stringはい
is_duplicate重複を排除する。integer0はい
api_keyあなたのAPIキーstringはい
per_page取得する記事の最大数integer30いいえ

ワークフロー例

メディア付きの魅力的な速報ニュース:
curl -X GET "https://api.apitube.io/v1/news/everything?is_breaking=1&media.images.count.min=2&sort.by=engagement&sort.order=desc&api_key=YOUR_API_KEY"
速報ニュースの監視のみ:
curl -X GET "https://api.apitube.io/v1/news/everything?is_breaking=1&api_key=YOUR_API_KEY"
速報の時間ごとの配布リクエスト:
curl -X GET "https://api.apitube.io/v1/news/everything?is_breaking=1&facet=true&facet.field=published.hour,category.id&api_key=YOUR_API_KEY"

関連する例

のためのレシピ cURL

curl --location --globoff --request POST 'https://api.apitube.io/v1/news/everything?is_breaking=1&media.images.count.min=2&sort.by=engagement&sort.order=desc&source.rank.opr.min=0.6&is_duplicate=0&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 = {
    "is_breaking": 1,
    "media.images.count.min": 2,
    "sort.by": "engagement",
    "sort.order": "desc",
    "source.rank.opr.min": 0.6,
    "is_duplicate": 0,
    "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: {
    "is_breaking": 1,
    "media.images.count.min": 2,
    "sort.by": "engagement",
    "sort.order": "desc",
    "source.rank.opr.min": 0.6,
    "is_duplicate": 0,
    "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' => [
    'is_breaking' => 1,
    'media.images.count.min' => 2,
    'sort.by' => 'engagement',
    'sort.order' => 'desc',
    'source.rank.opr.min' => 0.6,
    'is_duplicate' => 0,
    '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?is_breaking=1&media.images.count.min=2&sort.by=engagement&sort.order=desc&source.rank.opr.min=0.6&is_duplicate=0&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
クッキーの使用について

「同意する」をクリックすると、サイトの機能と分析のためにデバイスにクッキーが保存されることに同意したことになります。