GET
/api/v1/sources/
Auth required
List news sources
Cursor-paginated list of active parsing hosts with brand attribution. Ordered by host (FQDN). Includes articles_count_30d (last 30 days) and last_extracted_at.
Parameters
| Name | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| cursor | query | string | optional | The pagination cursor value. | |
| ordering | query | string | optional | Which field to use when ordering the results. | |
| page_size | query | integer | optional | Number of results to return per page. |
curl \
-H "Authorization: Token <YOUR_TOKEN>" \
"https://i-gaming.tools/api/v1/sources/"
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://i-gaming.tools/api/v1/sources/');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Authorization: Token <YOUR_TOKEN>']);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
const response = await fetch("https://i-gaming.tools/api/v1/sources/", {
method: "GET",
headers: {
"Authorization": "Token <YOUR_TOKEN>"
}
});
const data = await response.json();
console.log(data);
import requests
headers = {
"Authorization": "Token <YOUR_TOKEN>"
}
response = requests.get("https://i-gaming.tools/api/v1/sources/", headers=headers)
print(response.json())