Análisis de experiencia de autor con seguimiento entre fuentes

Track author contributions across multiple sources with category and sentiment filtering

Parámetros de entrada

ParameterDescriptionTypeDefaultRequired
author.nameAuthor name to track.stringYes
category.idCategory filter.stringYes
sort.bySort by publication date.stringYes
sort.orderDescending order.stringYes
per_pageMaximum number of articles to retrieve.integer10Yes
source.rank.opr.minMinimum source quality.stringYes
api_keyYour API key.stringYes

Workflow examples

Request for author expertise analysis:
curl -X GET "https://api.apitube.io/v1/news/everything?author.name=Ezra%20Klein&category.id=medtop:11000000&sort.by=published_at&sort.order=desc&per_page=10&api_key=YOUR_API_KEY"
Request for cross-source author contribution analysis:
curl -X GET "https://api.apitube.io/v1/news/everything?author.name=Kara%20Swisher&source.domain=nytimes.com,wsj.com,vox.com&published_at.start=2020-01-01&sort.by=published_at&sort.order=desc&api_key=YOUR_API_KEY"
Request for author sentiment bias analysis:
curl -X GET "https://api.apitube.io/v1/news/everything?author.name=George%20Stephanopoulos,Sean%20Hannity&organization.name=Biden%20Administration&published_at.start=2023-01-01&sort.by=sentiment.overall.score&api_key=YOUR_API_KEY"
Request for author topic evolution tracking:
curl -X GET "https://api.apitube.io/v1/news/everything?author.name=Yuval%20Noah%20Harari&published_at.start=2018-01-01&published_at.end=2023-12-31&sort.by=published_at&sort.order=asc&per_page=100&api_key=YOUR_API_KEY"

Ejemplos relacionados

Receta para cURL

curl --location --globoff --request POST 'https://api.apitube.io/v1/news/everything?author.name=Ezra+Klein&category.id=medtop%3A11000000&sort.by=published_at&sort.order=desc&per_page=10&source.rank.opr.min=0.7&api_key=YOUR_API_KEY' \
--header 'Content-Type: application/json'

Receta para Python

import requests

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

querystring = {
    "author.name": "Ezra Klein",
    "category.id": "medtop:11000000",
    "sort.by": "published_at",
    "sort.order": "desc",
    "per_page": 10,
    "source.rank.opr.min": 0.7,
    "api_key": "YOUR_API_KEY"
}
response = requests.request("GET", url, params=querystring)

print(response.text)

Receta para Javascript

import axios from "axios"

const options = {
		method: 'GET',
		url: 'https://api.apitube.io/v1/news/everything',
		params: {
    "author.name": "Ezra Klein",
    "category.id": "medtop:11000000",
    "sort.by": "published_at",
    "sort.order": "desc",
    "per_page": 10,
    "source.rank.opr.min": 0.7,
    "api_key": "YOUR_API_KEY"
}};

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

Receta para PHP

require 'vendor/autoload.php';

use GuzzleHttp\Client;

$client = new Client();
$response = $client->request('GET', 'https://api.apitube.io/v1/news/everything', [
	'query' => [
    'author.name' => 'Ezra Klein',
    'category.id' => 'medtop:11000000',
    'sort.by' => 'published_at',
    'sort.order' => 'desc',
    'per_page' => 10,
    'source.rank.opr.min' => 0.7,
    'api_key' => 'YOUR_API_KEY',
],
]);

echo $response->getBody();

Receta para 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?author.name=Ezra+Klein&category.id=medtop%3A11000000&sort.by=published_at&sort.order=desc&per_page=10&source.rank.opr.min=0.7&api_key=YOUR_API_KEY")
		.method("POST", body)
		.addHeader("Content-Type", "application/json")
		.build();
Response response = client.newCall(request).execute();
		
  • CNN
  • Techcrunch
  • Vox
  • Apple
  • Microsoft
  • IBM
  • Bloomberg
  • Spotify