random python scripts using apis