mentio
Python client for the Mentio API: social listening across Bluesky, Hacker News, Reddit, X, GitHub, Stack Overflow, DEV, YouTube, LinkedIn and news. Generated from the API's OpenAPI document and regenerated whenever the API changes, so it is always complete. Python 3.11+, sync and async, typed.
pip install mentio
from mentio import Mentio
mentio = Mentio(api_key="mk_live_...")
for mention in mentio.mentions.search(platform="reddit", relevant=True, limit=25).data:
print(mention.post.platform.value, mention.classification.relevance, mention.post.url)
keyword = mentio.keywords.create(term="acme", kind="brand")
mentio.mentions.update("mm_7f3a...", status="done")
summary = mentio.analytics.summary(range_="7d", compare=True, timezone="Europe/Madrid")
One object, one call per endpoint, grouped by resource: keywords, mentions, people, segments, alerts, channels, company, analytics, api_keys, system. Enum-valued arguments take plain strings, instants take a datetime, an ISO 8601 string or epoch milliseconds, bodies take a dict, a model or their fields as keyword arguments. A non-2xx raises MentioError with the API's status, code and message. AsyncMentio mirrors every call for asyncio.
The full guide is at docs.mentio.dev/sdks/python.
Release files for mentio 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mentio-0.2.2.tar.gz | 92.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mentio-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 372.6 kB
Release files / mentio-0.2.2.tar.gz
| Download URL | mentio-0.2.2.tar.gz |
|---|---|
| Size | 92.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9761c9fe6f4d872b5eddccfaa9dbd98f18e80d5070be4092de309136ea0aa552
|
|
BLAKE2b-256 checksum How to use checksums |
e22a529c056d3620eea89780fc7b212c4789ee24437e8f204cb2ff219ee37a9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / mentio-0.2.2-py3-none-any.whl
| Download URL | mentio-0.2.2-py3-none-any.whl |
|---|---|
| Size | 279.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3f77d94c14e74bfc2e25e3052c9b3ba162dc02724c559d5e1ef41f0730d015d
|
|
BLAKE2b-256 checksum How to use checksums |
17f54bb5ddcf4185918a7f0c61aa701e8eff1fe4bc5e9596175d12f88ced3fe3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|