file_list = drive.ListFile({'q': "'<folder ID>' in parents and trashed=false"}).GetList()
This gives me details of shared folder through folder id. But I want to get details about a particular shared file
you can loop over the file list and find the relevant file you are looking for
for file1 in file_list:
print('title: %s, id: %s' % (file1['title'], file1['id']))