example: https://github.com/BSData/gallery/pull/165 we may want to switch to a more performant method as well, because we're often hitting rate limits