Questions and suggestions relating to the site

Search /meta/ threads

Name  
Email  
Subject  
Message  
File     
Embed    
Password  (for post and file deletion)

File 141923617892.png - (45.40KB , 1080x1920 , Screenshot_2014-12-22-02-15-53.png )
163144 No. 163144 ID: 4a161b
Can we have a machine readable API for ponychan? Like a thread list for each board, thread posts with media URLs, and a board list in Json similar to 4chan's API?

If not, how can I programmatically detect new threads and new replies?

Thanks.
Unspoiler all text  • Expand all images  • Reveal spoilers
>> No. 163145 ID: 77365b
Write a crawler. Python would be quick and easy. No other option because Ponychan would have to do the same thing (without querying, anyway, people here for some reason have a phobia of this) if they'd want to expose this data.
>> No. 163147 ID: d6fe50
>>163145
The site offering an API by parsing the built HTML would be pretty silly... although I suppose there is precedent. I wouldn't have thought that it would be much more of a load on the database than Watched Threads, though.

At any rate, significant work on the current codebase isn't looking very likely at the moment if bugs like the logic being inverted on locked boards are staying around.
>> No. 163148 ID: 3d403b
File 141926175753.png - (147.93KB , 400x400 , 653791__safe_solo_pinkie+pie_parody_pinkamena+diane+pie_ask+pinkamena+diane+pie_tumblr+crossover.png )
163148
>detect new threads
Didn't we have some kind of IRC script/bot that did that?
>> No. 163149 ID: 65516a
>>163148
How does it work? Source?
>> No. 163150 ID: 34ee07
>>163147
It would. The site self-crawling was sort of sarcastic, as that's ten or more times as consuming as querying and serving. But I think I've ranted long enough about the phobia.

>>163148
>>163149
It's a crawler.

Last edited at Mon, Dec 22nd, 2014 12:36

>> No. 163151 ID: 31b110
File 141927836449.gif - (39.53KB , 369x237 , typing.gif )
163151
Like the others said, just use a crawler. If you like Python, the BeautifulSoup library is really and really convenient to use.

Last edited at Mon, Dec 22nd, 2014 12:59

>> No. 163504 ID: 05d8dd
>>163144
I second.
[Return] [Entire Thread] [Last 50 posts] [First 100 posts]


Delete post []
Password    
Report post
Reason