readerself icon indicating copy to clipboard operation
readerself copied to clipboard

Question: API

Open 9mmtylenol opened this issue 10 years ago • 10 comments

Is there an api or backend available to hook into Readerself? I didn't see an android app that works for Readerself and was wanting to make one as a learning project using material design, not to mention replacing my old rss hosted solution that was too bloated for my tastes that had an accompanying app.

9mmtylenol avatar Apr 08 '15 20:04 9mmtylenol

Sorry there is no api at present

A full rebuild is planned with server (only install, api and crawler) and separated client (html5, application cache, local storage, javascript templating ...) It's on my list, ready in some weeks

stephanediondev avatar Apr 08 '15 20:04 stephanediondev

Hi

Fever API integration is done http://feedafever.com/api It's the most famous (used by Tiny Tiny RSS)

stephanediondev avatar Aug 15 '15 11:08 stephanediondev

I tested with ReadKit on Mac It's good

On Android, I found Meltdown and Calenture Free Impossible to connect with Meltdown (the logs are ok) With Calenture Free I have feeds but no articles

Anyone know other Android app compliant with Fever ? (If someboy can test on iPhone/iPad, I don't have real device, only iOS simulator)

stephanediondev avatar Aug 15 '15 16:08 stephanediondev

After a restart it's ok with Meltdown

There was a problem with trailing comma Now it's ok with Calenture Free

stephanediondev avatar Aug 16 '15 07:08 stephanediondev

I just tried syncing my feeds with Meltdown, Calenture and Press. Calenture and Press let me log in but no articles show up, just the feed titles. Meltdown shows an error for loging in but I'm sure it's connecting yet it doesn't show any articles either.

9mmtylenol avatar Aug 23 '15 05:08 9mmtylenol

Do you have access to your web server logs?

To check http status on "fever" calls

192.168.0.13 - - [23/Aug/2015:09:17:30 +0200] "POST /projects/readerself/readerself/fever/?api HTTP/1.1" 200 713 192.168.0.13 - - [23/Aug/2015:10:53:28 +0200] "POST /projects/readerself/readerself/fever/?api&groups HTTP/1.1" 200 666 192.168.0.13 - - [23/Aug/2015:10:53:28 +0200] "POST /projects/readerself/readerself/fever/?api&feeds HTTP/1.1" 200 1240 192.168.0.13 - - [23/Aug/2015:10:53:28 +0200] "POST /projects/readerself/readerself/fever/?api&unread_item_ids HTTP/1.1" 200 610 192.168.0.13 - - [23/Aug/2015:10:53:28 +0200] "POST /projects/readerself/readerself/fever/?api&items&with_ids=311,360,361,362,363 HTTP/1.1" 200 6713

stephanediondev avatar Aug 23 '15 13:08 stephanediondev

[23/Aug/2015:23:09:30 +0000] "POST /fever/?api&groups HTTP/1.1" 200 1099 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)" [23/Aug/2015:23:09:31 +0000] "POST /fever/?api&feeds HTTP/1.1" 200 1608 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)" [23/Aug/2015:23:09:32 +0000] "POST /fever/?api&unread_item_ids HTTP/1.1" 200 1384 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)" [23/Aug/2015:23:09:32 +0000] "GET /extension/background?_=1440371372810 HTTP/1.1" 200 1013 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36" [23/Aug/2015:23:09:33 +0000] "POST /fever/?api&items&since_id=100 HTTP/1.1" 200 1350 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)" [23/Aug/2015:23:09:33 +0000] "POST /fever/?api&items&since_id=0 HTTP/1.1" 200 58596 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)" [23/Aug/2015:23:09:33 +0000] "POST /fever/?api&items&since_id=50 HTTP/1.1" 200 1349 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)" [23/Aug/2015:23:09:33 +0000] "POST /fever/?api&items&since_id=150 HTTP/1.1" 200 1350 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)" [23/Aug/2015:23:09:33 +0000] "POST /fever/?api&items&since_id=200 HTTP/1.1" 200 1350 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)" [23/Aug/2015:23:09:34 +0000] "POST /fever/?api&unread_item_ids HTTP/1.1" 200 1384 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)" [23/Aug/2015:23:09:35 +0000] "POST /fever/?api&saved_item_ids HTTP/1.1" 200 1362 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)" [23/Aug/2015:23:09:35 +0000] "POST /fever/?api&items&with_ids=null HTTP/1.1" 200 1347 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)" [23/Aug/2015:23:09:36 +0000] "POST /fever/?api&links&range=7&offset=0&page=1 HTTP/1.1" 200 834 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)" [23/Aug/2015:23:09:37 +0000] "POST /fever/?api&links&range=7&offset=0&page=2 HTTP/1.1" 200 834 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)" [23/Aug/2015:23:09:37 +0000] "POST /fever/?api&links&range=7&offset=0&page=3 HTTP/1.1" 200 834 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)" [23/Aug/2015:23:09:37 +0000] "POST /fever/?api&links&range=7&offset=0&page=4 HTTP/1.1" 200 834 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)"

9mmtylenol avatar Aug 23 '15 23:08 9mmtylenol

I bought the "Press" application

It's was partial (6 articles instead of 15) And I checked in settings and found "days to sync unread and read items" It's ok with "1 month"

Are you sure that all your items are sufficiently recent? How many unread items do you have?

May be there is a bug with "0" in /fever/?api&items&since_id=0 (it's look like there is no unread articles so it start at 0)

stephanediondev avatar Aug 24 '15 12:08 stephanediondev

I just subscribed the the this projects git rss feed and I have 20 unread items and I still don't have any showing up over the fever api.

9mmtylenol avatar Aug 24 '15 21:08 9mmtylenol

screenshot_2015-08-25-14-38-27 screenshot_2015-08-25-14-58-45 Meltdown shows articles but Press is only syncing them without items just like Calenture.

9mmtylenol avatar Aug 25 '15 19:08 9mmtylenol