Automatical scrypt for working with API Celestial Mechanics