API Client and Millipede Indexer Code