elevation api code