Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.
Raul Piraces Alastuey edited this page Feb 7, 2023 · 2 revisions

rsslay exposes an API to work with it programmatically, so you can automate feed creation and retrieval. The following operations are available:

Get/Create a feed

  • Path: /api/feed
  • Method: GET or POST
  • Query params (mandatory): url
  • Example: GET https://rsslay.nostr.moe/api/feed?url=https://www.engadget.com/rss.xml
  • Result: application/json
  • Example result:
    {
      "PubKey": "1e630062dd55226058224a0a1e9b54e09ac121ed13dd5070758816a9c561aeab",
      "NPubKey": "npub1re3sqcka253xqkpzfg9pax65uzdvzg0dz0w4qur43qt2n3tp464sswsn92",
      "Url": "https://www.engadget.com/rss.xml",
      "Error": false,
      "ErrorMessage": "", 
      "ErrorCode": 0
    }

Example with cURL:

curl --location --request GET \ 
'https://rsslay.nostr.moe/api/feed?url=https://nitter.moomoo.me/suhail/rss'
Clone this wiki locally