Author expertise analysis with cross-source tracking
Track author contributions across multiple sources with category and sentiment filtering
Indataparameter
| Parameter | Description | Type | Default | Required |
|---|---|---|---|---|
| author.name | Author name to track. | string | Yes | |
| category.id | Category filter. | string | Yes | |
| sort.by | Sort by publication date. | string | Yes | |
| sort.order | Descending order. | string | Yes | |
| per_page | Maximum number of articles to retrieve. | integer | 10 | Yes |
| source.rank.opr.min | Minimum source quality. | string | Yes | |
| api_key | Your API key. | string | Yes |
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"
Recept för 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'
Recept för 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)
Recept för 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);
});
Recept för 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();
Recept för 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();