[personal profile] alexwlchan posting in [community profile] ao3some
I think it’s a bit of a shared frustration that AO3 doesn’t have a public API, which makes getting data harder than it could be.

I needed to get access to AO3 data in a Python script (specifically, some scripts for auto-tagging AO3 bookmarks on Pinboard), and so I threw together a Python module that acts as a pseudo-API. This is very rough code, written in a hurry, but it works and proves the concept. It’s probably not the easiest thing to install (sorry) but the README should give you some idea of what’s available.

Potentially of extra interest: this gives you a way to get a list of all fics where you’ve left kudos. (Albeit it very slowly, if you’ve read a lot of stuff.)

On GitHub: https://github.com/alexwlchan/ao3

Date: 2017-01-13 12:41 am (UTC)
jadelennox: Senora Sabasa Garcia, by Goya (Default)
From: [personal profile] jadelennox
oh, cool. I look forward to poking around in this!

Date: 2017-01-13 07:21 pm (UTC)
msilfan: (Default)
From: [personal profile] msilfan
That sounds like a fabulous proof of concept and would give us some really useful data in how outsiders might want to access the Archive.

June 2017

S M T W T F S
     123
45678910
11121314151617
18192021222324
252627282930 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Oct. 23rd, 2017 03:24 pm
Powered by Dreamwidth Studios