/v1/user
User posts
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
…