X Serveur MCP
X rassemble environ 600 millions d'utilisateurs mensuels autour des posts courts, des conversations en direct, de la vidéo et de l'actualité en temps réel, ce qui en fait une plateforme importante pour la communication instantanée, la visibilité média et la gestion de réputation.
URL de base
https://mcp.pressmonitor.ca/x/v1 Authentification
Les appels MCP utilisent aussi des jetons Bearer sur des requêtes JSON-RPC 2.0.
Authorization: Bearer YOUR_TOKEN Découvrir les outils
Commencez par lister les outils exposés par le serveur MCP.
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify({ jsonrpc: '2.0', id: 1, method: 'tools/list' }) }); console.log(await response.json()); import requests payload = { 'jsonrpc': '2.0', 'id': 1, 'method': 'tools/list' } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) autocomplete Autocomplétion
Autocomplétion
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| value | string | Oui | Valeur |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"autocomplete","arguments":{"value":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "autocomplete", "arguments": { "value": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "autocomplete", "arguments": { "value": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) communityTopics Sujets de la communauté
Sujets de la communauté
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"communityTopics","arguments":{"count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "communityTopics", "arguments": { "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "communityTopics", "arguments": { "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) CommunityTweets Tweets de la communauté
Tweets de la communauté
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| communityId | string | Oui | ID de la communauté |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"CommunityTweets","arguments":{"communityId":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "CommunityTweets", "arguments": { "communityId": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "CommunityTweets", "arguments": { "communityId": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) fetchPopularCommunities Récupérer les communautés populaires
Récupérer les communautés populaires
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| topicId | string | Oui | ID du sujet |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"fetchPopularCommunities","arguments":{"topicId":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "fetchPopularCommunities", "arguments": { "topicId": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "fetchPopularCommunities", "arguments": { "topicId": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) followers Abonnés
Abonnés
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| user | string | Oui | ID numérique de l'utilisateur (pas le nom d'utilisateur). Utilisez le point de terminaison 'user' pour rechercher l'ID à partir du nom d'utilisateur |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"followers","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "followers", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "followers", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) followersIDs Identifiants des abonnés
Identifiants des abonnés
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| username | string | Oui | Nom d'utilisateur (sans le symbole @, par ex. 'elonmusk') |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"followersIDs","arguments":{"username":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "followersIDs", "arguments": { "username": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "followersIDs", "arguments": { "username": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) followings Abonnements
Abonnements
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| user | string | Oui | ID numérique de l'utilisateur (pas le nom d'utilisateur). Utilisez le point de terminaison 'user' pour rechercher l'ID à partir du nom d'utilisateur |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"followings","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "followings", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "followings", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) followingsIDs Identifiants des abonnements
Identifiants des abonnements
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| username | string | Oui | Nom d'utilisateur (sans le symbole @, par ex. 'elonmusk') |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"followingsIDs","arguments":{"username":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "followingsIDs", "arguments": { "username": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "followingsIDs", "arguments": { "username": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) getUsers Obtenir Utilisateurs
Obtenir Utilisateurs
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| users | string | Oui | Utilisateurs |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"getUsers","arguments":{"users":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "getUsers", "arguments": { "users": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "getUsers", "arguments": { "users": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) groupTweets Regrouper les tweets
Regrouper les tweets
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| communityId | string | Oui | ID de la communauté |
| rankingMode | string | Oui | Mode de classement |
| searchType | string | Oui | Type de recherche |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"groupTweets","arguments":{"communityId":"SOME_STRING_VALUE","rankingMode":"SOME_STRING_VALUE","searchType":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "groupTweets", "arguments": { "communityId": "SOME_STRING_VALUE", "rankingMode": "SOME_STRING_VALUE", "searchType": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "groupTweets", "arguments": { "communityId": "SOME_STRING_VALUE", "rankingMode": "SOME_STRING_VALUE", "searchType": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) highlights Faits saillants
Faits saillants
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| user | string | Oui | ID numérique de l'utilisateur (pas le nom d'utilisateur). Utilisez le point de terminaison 'user' pour rechercher l'ID à partir du nom d'utilisateur |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"highlights","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "highlights", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "highlights", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) jobsDetails Détails des offres d'emploi
Détails des offres d'emploi
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| jobId | string | Oui | ID de l'emploi |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"jobsDetails","arguments":{"jobId":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "jobsDetails", "arguments": { "jobId": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "jobsDetails", "arguments": { "jobId": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) jobsLocationsSuggest Suggestions de lieux d'emploi
Suggestions de lieux d'emploi
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query | string | Oui | Requête de recherche |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"jobsLocationsSuggest","arguments":{"query":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "jobsLocationsSuggest", "arguments": { "query": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "jobsLocationsSuggest", "arguments": { "query": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) jobsSearch Recherche d'emploi
Recherche d'emploi
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| employment_type | string | Oui | Type d'emploi |
| job_location_id | string | Oui | ID du lieu de travail |
| job_location_type | string | Oui | Type de lieu de travail |
| keyword | string | Oui | Mot-clé |
| seniority_level | string | Oui | Niveau de séniorité |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"jobsSearch","arguments":{"employment_type":"SOME_STRING_VALUE","job_location_id":"SOME_STRING_VALUE","job_location_type":"SOME_STRING_VALUE","keyword":"SOME_STRING_VALUE","seniority_level":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "jobsSearch", "arguments": { "employment_type": "SOME_STRING_VALUE", "job_location_id": "SOME_STRING_VALUE", "job_location_type": "SOME_STRING_VALUE", "keyword": "SOME_STRING_VALUE", "seniority_level": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "jobsSearch", "arguments": { "employment_type": "SOME_STRING_VALUE", "job_location_id": "SOME_STRING_VALUE", "job_location_type": "SOME_STRING_VALUE", "keyword": "SOME_STRING_VALUE", "seniority_level": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) likes Mentions J'aime
Mentions J'aime
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| pid | string | Oui | Pid |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"likes","arguments":{"pid":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "likes", "arguments": { "pid": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "likes", "arguments": { "pid": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) listDetails Détails de la liste
Détails de la liste
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| listId | string | Oui | ID de la liste |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"listDetails","arguments":{"listId":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "listDetails", "arguments": { "listId": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "listDetails", "arguments": { "listId": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) listTimeline Chronologie de la liste
Chronologie de la liste
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| listId | string | Oui | ID de la liste |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"listTimeline","arguments":{"listId":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "listTimeline", "arguments": { "listId": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "listTimeline", "arguments": { "listId": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) listTweets Tweets de la liste
Tweets de la liste
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| list_id | string | Oui | ID de la liste |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"listTweets","arguments":{"list_id":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "listTweets", "arguments": { "list_id": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "listTweets", "arguments": { "list_id": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) orgAffiliates Affiliés de l'organisation
Affiliés de l'organisation
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| user | string | Oui | ID numérique de l'utilisateur (pas le nom d'utilisateur). Utilisez le point de terminaison 'user' pour rechercher l'ID à partir du nom d'utilisateur |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"orgAffiliates","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "orgAffiliates", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "orgAffiliates", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) quotes Citations
Citations
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| pid | string | Oui | Pid |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"quotes","arguments":{"pid":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "quotes", "arguments": { "pid": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "quotes", "arguments": { "pid": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) retweets Retweets
Retweets
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| pid | string | Oui | Pid |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"retweets","arguments":{"pid":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "retweets", "arguments": { "pid": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "retweets", "arguments": { "pid": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) search Recherche
Recherche
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query | string | Oui | Requête de recherche |
| type | string | Oui | Type |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search","arguments":{"query":"SOME_STRING_VALUE","type":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search", "arguments": { "query": "SOME_STRING_VALUE", "type": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search", "arguments": { "query": "SOME_STRING_VALUE", "type": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) searchCommunity Recherche dans la communauté
Recherche dans la communauté
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query | string | Oui | Requête de recherche |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"searchCommunity","arguments":{"query":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "searchCommunity", "arguments": { "query": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "searchCommunity", "arguments": { "query": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) searchLists Recherche dans les listes
Recherche dans les listes
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query | string | Oui | Requête de recherche |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"searchLists","arguments":{"query":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "searchLists", "arguments": { "query": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "searchLists", "arguments": { "query": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) searchold Ancienne recherche
Ancienne recherche
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query | string | Oui | Requête de recherche |
| type | string | Oui | Type |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"searchold","arguments":{"query":"SOME_STRING_VALUE","type":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "searchold", "arguments": { "query": "SOME_STRING_VALUE", "type": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "searchold", "arguments": { "query": "SOME_STRING_VALUE", "type": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) spaces Espaces
Espaces
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| id | string | Oui | ID |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"spaces","arguments":{"id":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "spaces", "arguments": { "id": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "spaces", "arguments": { "id": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) trends Tendances
Tendances
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| woeid | string | Oui | Woeid |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"trends","arguments":{"woeid":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "trends", "arguments": { "woeid": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "trends", "arguments": { "woeid": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) trendsLocations Lieux des tendances
Lieux des tendances
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"trendsLocations","arguments":{"count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "trendsLocations", "arguments": { "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "trendsLocations", "arguments": { "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tweet Tweet
Tweet
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| pid | string | Oui | Pid |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"tweet","arguments":{"pid":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "tweet", "arguments": { "pid": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "tweet", "arguments": { "pid": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tweetByIds Tweet par IDs
Tweet par IDs
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tweetIDs | string | Oui | IDs des tweets |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"tweetByIds","arguments":{"tweetIDs":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "tweetByIds", "arguments": { "tweetIDs": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "tweetByIds", "arguments": { "tweetIDs": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) user Rechercher le profil utilisateur par nom d'utilisateur. Retourne les détails de l'utilisateur, y compris l'ID numérique (rest_id)
Rechercher le profil utilisateur par nom d'utilisateur. Retourne les détails de l'utilisateur, y compris l'ID numérique (rest_id)
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| username | string | Oui | Nom d'utilisateur (sans le symbole @, par ex. 'elonmusk') |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"user","arguments":{"username":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "user", "arguments": { "username": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "user", "arguments": { "username": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) userLikes Mentions J'aime de l'utilisateur
Mentions J'aime de l'utilisateur
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| user | string | Oui | ID numérique de l'utilisateur (pas le nom d'utilisateur). Utilisez le point de terminaison 'user' pour rechercher l'ID à partir du nom d'utilisateur |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"userLikes","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "userLikes", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "userLikes", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) userMedia Médias de l'utilisateur
Médias de l'utilisateur
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| cusor | string | Oui | Curseur |
| user | string | Oui | ID numérique de l'utilisateur (pas le nom d'utilisateur). Utilisez le point de terminaison 'user' pour rechercher l'ID à partir du nom d'utilisateur |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"userMedia","arguments":{"cusor":"SOME_STRING_VALUE","user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "userMedia", "arguments": { "cusor": "SOME_STRING_VALUE", "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "userMedia", "arguments": { "cusor": "SOME_STRING_VALUE", "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) userReplies Réponses de l'utilisateur
Réponses de l'utilisateur
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| user | string | Oui | ID numérique de l'utilisateur (pas le nom d'utilisateur). Utilisez le point de terminaison 'user' pour rechercher l'ID à partir du nom d'utilisateur |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"userReplies","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "userReplies", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "userReplies", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) userRepliesV2 Réponses de l'utilisateur V2
Réponses de l'utilisateur V2
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| user | string | Oui | ID numérique de l'utilisateur (pas le nom d'utilisateur). Utilisez le point de terminaison 'user' pour rechercher l'ID à partir du nom d'utilisateur |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"userRepliesV2","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "userRepliesV2", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "userRepliesV2", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) userTweets Obtenez les tweets d'un utilisateur via son ID utilisateur numérique. Pour obtenir les tweets par nom d'utilisateur, utilisez d'abord le point de terminaison 'user' pour récupérer l'ID utilisateur
Obtenez les tweets d'un utilisateur via son ID utilisateur numérique. Pour obtenir les tweets par nom d'utilisateur, utilisez d'abord le point de terminaison 'user' pour récupérer l'ID utilisateur
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| user | string | Oui | ID numérique de l'utilisateur (pas le nom d'utilisateur). Utilisez le point de terminaison 'user' pour rechercher l'ID à partir du nom d'utilisateur |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"userTweets","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "userTweets", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "userTweets", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) verifiedFollowers Abonnés vérifiés
Abonnés vérifiés
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| user | string | Oui | ID numérique de l'utilisateur (pas le nom d'utilisateur). Utilisez le point de terminaison 'user' pour rechercher l'ID à partir du nom d'utilisateur |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination pour la page suivante |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/x/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"verifiedFollowers","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "verifiedFollowers", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "verifiedFollowers", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json())
commentsCommentaires
Commentaires
Arguments
stringstringstringstringExemples de code