archive api python client work