var parser = new OFXDocumentParser(); var ofxDocument = parser.Import(new FileStream(@"c:\ofxdoc.ofx", FileMode.Open));
ofxsharp's Introduction
ofxsharp's People
Forkers
dlsteuer diegojlucena matthemsteger flashtopia bradsmillie thompsonson blairhadfield milesibastos rapidone gonzaloluislabrada pymendoza konstmsu luisgoliveira advdm rexhh arbixal carlosneto carlosforti pguptac gerdus ajayvikas romulooliverr ironfist everwealth hermanpotgieter kjawale wheeliemow corum luispelin wbwiltshire pdwetz kevencarneiro mitchcapper alanlisboa mrmontana1889 seclarke tniedabylski andrewmenary edsonfast wtempone vmrsilva ouarzy edsondias hadiljr alan-lisboa hjnewman3 briddums sinbad technicaljoe-atworkofxsharp's Issues
Change the OFXDocumentParser constructor parameter type to Stream
There's no need for the parameter to be FileStream
Missing License
"If you want others to use, distribute, modify, or contribute back to your project, you need to include an open source license. For example, someone cannot legally use any part of your GitHub project in their code, even if itβs public, unless you explicitly give them the right to do so."
--https://opensource.guide/legal/
From https://code.google.com/archive/p/ofx-sharp/ it looks like this project was originally released under the Apache 2.0 license, but there is no indication in the GitHub repository as to what license this code is under. It looks like some others have forked the code and added their own MIT license (https://www.nuget.org/packages/OFXSharp/).
If you intended that it be licensed under Apache 2.0 then please add a license file to the root of the project to indicate that.
Currency not found
Nowadays there are some Mastercard card issuers that does not have some fields,
Like nubank credit card.
nubank-2017-02.zip
Trying to parse this text, fails.
I found this sample ofx data and the code throws an exception.
I'm guessing it's because the xml data is not really -well formed- xml data .. even though the code assumes it is?
And this sample ofx data looks to be some official sample, btw!
<OFX>
<SIGNONMSGSRSV1>
<SONRS>
<STATUS>
<CODE>0
<SEVERITY>INFO
</STATUS>
<DTSERVER>20071015021529.000[-8:PST]
<LANGUAGE>ENG
<DTACCTUP>19900101000000
<FI>
<ORG>MYBANK
<FID>01234
</FI>
</SONRS>
</SIGNONMSGSRSV1>
<BANKMSGSRSV1>
<STMTTRNRS>
<TRNUID>23382938
<STATUS>
<CODE>0
<SEVERITY>INFO
</STATUS>
<STMTRS>
<CURDEF>USD
<BANKACCTFROM>
<BANKID>987654321
<ACCTID>098-121
<ACCTTYPE>SAVINGS
</BANKACCTFROM>
<BANKTRANLIST>
<DTSTART>20070101
<DTEND>20071015
<STMTTRN>
<TRNTYPE>CREDIT
<DTPOSTED>20070315
<DTUSER>20070315
<TRNAMT>200.00
<FITID>980315001
<NAME>DEPOSIT
<MEMO>automatic deposit
</STMTTRN>
<STMTTRN>
<TRNTYPE>CREDIT
<DTPOSTED>20070329
<DTUSER>20070329
<TRNAMT>150.00
<FITID>980310001
<NAME>TRANSFER
<MEMO>Transfer from checking
</STMTTRN>
<STMTTRN>
<TRNTYPE>PAYMENT
<DTPOSTED>20070709
<DTUSER>20070709
<TRNAMT>-100.00
<FITID>980309001
<CHECKNUM>1025
<NAME>John Hancock
</STMTTRN>
</BANKTRANLIST>
<LEDGERBAL>
<BALAMT>5250.00
<DTASOF>20071015021529.000[-8:PST]
</LEDGERBAL>
<AVAILBAL>
<BALAMT>5250.00
<DTASOF>20071015021529.000[-8:PST]
</AVAILBAL>
</STMTRS>
</STMTTRNRS>
</BANKMSGSRSV1>
</OFX>
cheers!
MVC view issue
Hi
I have tried to return data using a viewbag and viewdata, but when I upload the OFX file the view returned is blank. The project builds with no errors.
In controller
Controller.txt
In View
View.txt
OFX
ofxdoc.txt
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.