結果 : create api in python to get data from the database