use pit to read client_id and api_key