Questions tagged [medium.com-publishing-api]

For questions about the Publishing API of the online blogging platform Medium.com. The API is for programmatically managing content on the platform. Questions about the Medium.com platform itself or its usage are off-topic.

For questions about the Publishing API of the online blogging platform Medium.com. The API is for programmatically managing content on the platform. Questions about the Medium.com platform itself or its usage are off-topic.

Links:

54 questions
1
vote
0 answers

how to get publications from medium account where user is either editor or writer

Currently the API GET https://api.medium.com/v1/users/{{userId}}/publications will return the publications where user has a role of "editor" or "writer" along with a maximum of 200 other publications the user follows or has other relationships…
Jagadeeswar
  • 311
  • 2
  • 5
  • 14
1
vote
1 answer

Is there a way to get the language from Medium posts?

I need to review numerous articles every day, however, I'm only interested in articles in a specific language (Portuguese, pt-br, in this case). I even read Medium's API and didn't find language information, but I'm not a technical reference lol I…
Frota
  • 11
  • 1
1
vote
0 answers

How to retrieve Medium posts for a user real time?

I am trying to get Medium user posts real time. I tried: https://medium.com/feed/@your_profile https://medium.com/@yourhandle/latest?format=json However, I'm getting several minutes cached reply back based on firstPublishedAt param in JSON…
1
vote
1 answer

importing medium articles into gatsby

I am trying to integrate my medium feed into gatsby and only want to select a few articles - not have the most recent ones. I was able to get the three most recent articles using this code: index.config mediumRssFeed: …
1
vote
2 answers

How to retrieve Medium reading list for a user from the API using python?

From Medium API docs I can see how to retrieve publications and create posts, but it doesn't mention retrieving reading list. Is retrieving reading list for a user currently possible using the Medium's API?
1
vote
1 answer

axios equivalent of http requests?

I want to make the following http request POST /v1/images HTTP/1.1 Host: api.medium.com Authorization: Bearer 181d415f34379af07b2c11d144dfbe35d Content-Type: multipart/form-data; boundary=FormBoundaryXYZ Accept: application/json Accept-Charset:…
user13456607
1
vote
0 answers

What's the fastest endpoint to check for a new medium.com post?

Is it https://medium.com/@blah/latest?format=json I'm only concerned with new article titles. I know they have an RSS feed, but wouldn't that be slower? https://medium.com/feed/@blah I know they have an API but I don't think it allows you to check…
holly
  • 43
  • 8
1
vote
0 answers

Test case for medium-sdk

I have a function which return an object. In the function I am calling function of medium-sdk. I want to stub the call to library function want to test the returned value from the callback function.Below is the function which I need to…
1
vote
2 answers

Medium error connection with Oauth

I try to connect my website account on Medium (blog), via this URL: https://medium.com/m/oauth/authorize?redirect_uri=https%3A%2F%2Fdomain.com%2Fnetworks%2Fmedium%2Fcallback&scope=basicProfile&response_type=code&client_id=7510274391b7 But, I get…
pirmax
  • 2,054
  • 8
  • 36
  • 69
1
vote
1 answer

How to set limit for getting items from rss feed?

I'm getting feed from this link. I want to get only first five items from feed. Instead of that I'm getting all of the items from feed. How can I get first five items only ?. Should I pass any parameters with URL…
Surya Teja
  • 1,388
  • 3
  • 16
  • 32
1
vote
0 answers

Adding Custom Link on my Medium Publication's Logo

Hi I'm trying to add a custom link to send my visitor back to my website via my publication's logo on medium (See this screenshot) and so far no good. I checked on Medium's documentation and it sends me to this link and I believe that this link is…
The Man
  • 19
  • 3
1
vote
3 answers

How to embed code to medium blog which doesn't disappear

I'm using the medium blogging system and I need to insert some code (cli commands, scripts in JS, ...) I'm using the Keyboard shortcuts but when I press Ctr + Alt + 6 the selected code dissapears. Is there any other way to insert any code (single or…
frankfullstack
  • 498
  • 5
  • 18
1
vote
2 answers

Correctly posting data with authentication in JavaScript / JQuery

I am writing an application through Electron for a simple text editor that posts drafts to Medium.com. They provide an API and the documentation for it, but my knowledge in jQuery and JavaScript is still a little limited. Essentially, I'm using AJAX…
Jam3sn
  • 1,077
  • 4
  • 17
  • 35
0
votes
1 answer

Creating a Post with the Medium API

How can I create a post with the Medium API? I've followed the documentation and my code seems correct, but not getting a response: $token = '2baemytoken6234324'; $post = [ 'title' => 'teseee', 'contentFormat' => 'html', 'content' =>…
cpcdev
  • 1,130
  • 3
  • 18
  • 45
0
votes
0 answers

Error in publishing Jupyter notebook to medium

I am trying to publish a jupyter notebook as a medium blog , I installed all the necessary libraries, then I put in my integration token too and every other details but I am getting this error : enter image description here Failed to post to…