Ir al contenido
GET /v1/user

User posts

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/medium-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/medium-api/v1/user" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/medium-api/v1/user", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/medium-api/v1/user");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/medium-api/v1/user",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "feed": {
            "link": "https://medium.com/@Medium?source=rss-504c7870fdb6------2",
            "image": "https://cdn-images-1.medium.com/fit/c/150/150/1*8E6Laeaz-zMfU_rkpZUyKw.png",
            "title": "Stories by Medium on Medium",
            "description": "Stories by Medium on Medium"
        },
        "count": 10,
        "items": [
            {
                "guid": "https://medium.com/p/62edea66ffa4",
                "link": "https://medium.com/blog/updating-our-rules-june-2023-62edea66ffa4?source=rss-504c7870fdb6------2",
                "title": "Updating Our Rules — June 2023",
                "author": "Medium",
                "excerpt": "Updating Our Rules — June 2023 This month, we are updating our Rules . As the world evolves, so do the ways in which people use Medium. To accommodate this, we regularly assess our rules, and adjust them accordingly. We believe that through helping people share their experiences and viewpoints, we c",
                "updated": "2023-06-28T18:01:22.039Z",
                "published": "Wed, 28 Jun 2023 18:01:22 GMT",
                "categories": [
                    "rules",
                    "medium"
                ],
                "content_html": "<h3>Updating Our Rules — June 2023</h3><p>This month, we are updating our <a href=\"https://policy.medium.com/medium-rules-30e5502c4eb4\">Rules</a>. As the world evolves, so do the ways in which people use Medium. To accommodate this, we regularly assess our rules, and adjust them accordingly.</p><p>We believe that through helping people share their experiences and viewpoints, we can foster greater levels of understanding, education, and acceptance. We realize that, at various moments in the larger cultural conversation, certain underrepresented groups become targeted, and our rules need to quickly evolve in order to maintain our mission of moving conversation forward. You can read more in our in post “<a href=\"https://blog.medium.com/medium-stands-for-lgbtqia-rights-ee4d63e8052e\">Medium stands for LGBTQIA+ rights</a>.”</p><p>New changes to our rules include expanding and improving the language around how we define hateful conflict to include slurs, deadnaming, and intentional misgendering.</p><p>Additionally, please note that accounts who plagiarize or commit copyright infringement will not be warned, and are not eligible for appeal. Please only post content to Medium which you own or have clear permission to use. If you are unsure if you can use someone else’s content, please see the EFF’s article on <a href=\"https://www.eff.org/issues/bloggers/legal/liability/IP\">“Intellectual Property.”</a></p><p>We also did some general editing clean up, and removed redundant sections to make the rules page cleaner and easier to read.</p><p>The Medium Rules are available <a href=\"https://policy.medium.com/medium-rules-30e5502c4eb4\">here</a>. We <a href=\"https://github.com/Medium/medium-policy/blob/master/Rules.md\">tr
…