feedbin / feedbin-api

Feedbin API Documentation
349 stars 26 forks source link

Newsletter metadata #68

Open kunalsood opened 1 year ago

kunalsood commented 1 year ago

I have been looking into improving the reading experience for newsletters in my app, and, was wondering if there is any way to get sender's email address for entries that are newsletters using the API?

Sorry if I have missed something obvious.

benubois commented 1 year ago

Hi @kunalsood,

There is not currently, but that sounds good!

How about a key and value like:

{
  "newsletter_sender": "Changelog News <news@changelog.com>"
}

Feedbin could also potentially parse email addresses so it could be this with a bit more work:

{
  "newsletter_sender": {
    "name": "Changelog News"
    "email": "news@changelog.com"
}
kunalsood commented 1 year ago

Hey @benubois,

Thanks for writing back! I would be happy with either of your ideas.

As an aside, I have been trying to get an idea of how others handle this, and have so far found that 2 other services return the email address in the author field in the Changelog News <news@changelog.com> format.