finish integration of minigps api