How to batch obatin band information of landsatSR on Google Earth Engine

Hi everyone, I wonder how to obtain the band information of points(lon,lat). There are codes.

var pts = ee.FeatureCollection(table)
print(pts,‘’,‘Points’)
var L8 = ee.ImageCollection(‘LANDSAT/LT05/C01/T1_SR’)
//var L8 = ee.ImageCollection(‘LANDSAT/LC08/C01/T1_SR’)
.filterDate(‘1986-1-1’, ‘2013-6-1’)
//.filterDate(‘2013-3-1’, ‘2022-12-31’)
.filterBounds(geometry)
var ft = ee.FeatureCollection(ee.List([]))
var fill = function(img, ini) {
// type cast
var inift = ee.FeatureCollection(ini)
// gets the values for the points in the current img
var ft2 = img.reduceRegions(pts, ee.Reducer.first(),30)
// gets the date of the img
var date = img.date().format()
// writes the date in each feature
var ft3 = ft2.map(function(f){return f.set(“date”, date)})
// merges the FeatureCollections
return inift.merge(ft3)
}
// Iterates over the ImageCollection
var newft = ee.FeatureCollection(L8.iterate(fill, ft))
// Reduce the size of the collection by sampling
var sampledft = newft.randomColumn().filter(ee.Filter.lt(‘random’,0.1))
print(sampledft,‘’,‘New’)
//Export---------------------------------------------------------------------------------
Export.table.toDrive({
collection: newft,
description: ‘New_Feature’,
fileFormat: ‘CSV’
});
image

table is a .csv: ID lon lat

How to modify it? Thanks a lot!