An open API service indexing awesome lists of open source software.

https://github.com/boriszn/fileimport

FileImport example solution. Contains upload file API with options to import from CSV, Excel files
https://github.com/boriszn/fileimport

api csv dot-net dot-net-core dot-net-core2 excel rest-api

Last synced: 7 months ago
JSON representation

FileImport example solution. Contains upload file API with options to import from CSV, Excel files

Awesome Lists containing this project

README

          

# File Import API example

FileImport example solution. Contains upload file API with options to import from CSV, Excel files

## WEB API

- `/api/file/import` - CSV import API action example
- `/api/file/import/excel` - XLS import API action example

![alt text](https://raw.githubusercontent.com/Boriszn/FileImport/develop/assests/img/api-csv.png "csv example")
![alt text](https://raw.githubusercontent.com/Boriszn/FileImport/develop/assests/img/api-excel.png "excel example")

## User libraries

- Microsoft Office (Word/Excel)
1. https://github.com/dotnetcore/NPOI
2. Format documentation: https://poi.apache.org/
- CSV
1. https://joshclose.github.io/CsvHelper/
2. https://bytefish.github.io/TinyCsvParser/index.html

## Installation

1. Clone repository
2. Build / Run
3. (optional) Use `test-files` directory to get test data files.

## Contributing

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request

## License

This project is licensed under the MIT License