This "toy" has an API that is pretty easy to use, including access to the camera stream, the bottom camera and the rangefinder. This is good base for first steps in drone programming. You should look for the Tello EDU, as the normal Tello is a bit more limitied.
If you need longer flight times...