-
Notifications
You must be signed in to change notification settings - Fork 7
7. Adapters
Jos de Weger edited this page Jan 1, 2019
·
3 revisions
In order to make SheetToObjects somewhat agnostic of the source of the data (Google Sheets, Excel, etc.), the SheetMapper.Map
method expects one parameter, which is a Sheet
object. To provide this Sheet
object, adapters are used to convert the data from the source to a Sheet
object.
The following adapters are provided:
- Public Google Sheets, via nuget pakage SheetToObjects.Adapters.GoogleSheets
- Protected Google Sheets, via nuget pakage SheetToObjects.Adapters.ProtectedGoogleSheets
- Microsoft Excel, via nuget pakage SheetToObjects.Adapters.MicrosoftExcel
- Comma Seperated Value files (.csv), via nuget pakage SheetToObjects.Adapters.Csv
Is your data source not listed? No worries, you can always roll your own (don't forget to create a PR :))!