Closed spekulatius closed 1 year ago
Implement basic CSV parsing functionality.
As usual, keep it simple:
$data = $web->parseCsv('https://test-pages.phpscraper.de/1.csv');
$data = $web->go('https://test-pages.phpscraper.de/1.csv')->parseCsv()
$web->go('https://test-pages.phpscraper.de/1.csv'); $data = $web->parseCsv();
While the CSVs are flat by nature, they can be resolved into an associative array. This should be considered as an option. Suitable naming TBC.
Implement basic CSV parsing functionality.
API
As usual, keep it simple:
Direct Call
Chained
Separate Calls
Associative Array vs. Simple Array
While the CSVs are flat by nature, they can be resolved into an associative array. This should be considered as an option. Suitable naming TBC.
Consideration