News for hackers. Stuff that matters.
Re:Introducing the 4chan API by xefer on Wednesday September 05, 2012 @04:03PM (#4481186)
It still requires scrapping to discover the thread ids though does it not?
Re:Introducing the 4chan API by moot on Wednesday September 05, 2012 @04:05PM (#4481197)
We'll have indexes and a catalog view soon.
Re:Introducing the 4chan API by aneisf on Wednesday September 05, 2012 @04:07PM (#4481210)
That's great news. No hope for a posting API I presume?
Re:Introducing the 4chan API by moot on Wednesday September 05, 2012 @04:10PM (#4481221)
Probably not. Since we don't have user accounts, and already have a bit of a spam problem, I'd be pretty worried about what a real POST API might bring.
Re:Introducing the 4chan API by aneisf on Wednesday September 05, 2012 @04:15PM (#4481241)
I figured as much. Just wishful thinking on my part--it'd be nice to be able to build a client wholly atop the API.
Re:Introducing the 4chan API by nyan_sandwich on Wednesday September 05, 2012 @09:32PM (#4482431)
It's not like the html form does anything special. Forms don't have funny markup you have to scrape or produce. It's just a POST.

I guess there's mime/url encoding or whatever, but that's hardly an issue.

Re:Introducing the 4chan API by toomanymike on Wednesday September 05, 2012 @09:48PM (#4482472)
There's a captcha
Re:Introducing the 4chan API by mcantor on Wednesday September 05, 2012 @05:11PM (#4481487)
What if you charged for it? (Not saying this is a good idea, just that it's an idea.)
Re:Introducing the 4chan API by TazeTSchnitzel on Wednesday September 05, 2012 @06:04PM (#4481725)
Charging for spam just means spammers buy accounts to post spam...
Re:Introducing the 4chan API by Perceval on Wednesday September 05, 2012 @09:32PM (#4482433)
Could end up as a profitable honey pot.
Re:Introducing the 4chan API by angersock on Wednesday September 05, 2012 @04:07PM (#4481209)
Are some of the threads not rendered to JSON yet? i.e., do we only get it for new threads?
Re:Introducing the 4chan API by moot on Wednesday September 05, 2012 @04:10PM (#4481219)
All of the old threads were rebuilt, so everything should have a JSON representation.
Re:Introducing the 4chan API by angersock on Wednesday September 05, 2012 @04:11PM (#4481227)
How long did that take? Just the current active threads across the boards, right?
Re:Introducing the 4chan API by moot on Wednesday September 05, 2012 @04:19PM (#4481261)
Just a few minutes, since we only store active threads in the database. Was only ~9,000 threads.
Re:Introducing the 4chan API by dc2447 on Wednesday September 05, 2012 @05:20PM (#4481522)
What is the index URL format
Re:Introducing the 4chan API by moot on Wednesday September 05, 2012 @06:59PM (#4481946)
Doesn't exist yet. I'll update the API GitHub page once we add it.
Re:Introducing the 4chan API by kentbrew on Thursday September 06, 2012 @01:54AM (#4483002)
Couple things:

Pipes/YQL seems not to have been banned yet, so getting 4chan data back wrapped in a callback for nothing-but-front-end hacks seems doable. Also along those lines: it'd be super-awesome if the API would take ifModifiedSince as a query parameter and not just in headers.