garrettdowd / splitwise_export Goto Github PK
View Code? Open in Web Editor NEWExport more data from Splitwise include receipts
Export more data from Splitwise include receipts
Hi @garrettdowd
Great project!
One question, how can I get my oauth_verifier?
In my app I only have the consumer key and Consumer secret
cheers
Hi @garrettdowd
Great project!
One question, how can I get my oauth_verifier?
In my app I only have the consumer key and Consumer secret
cheers
Hi there!
I absolutely LOVE the export feature. very easy to set up, and also very fast to use. i use it all the time to manage the expenses o a big project ( 700 000 EUR) so pretty happy with it!
One thing is challenging: the export doesnt match the latest version of my splitwise content. that means that if I delete an entry, the export will still show this entry in the expense export.
another feature would also be great: now the date in the export is the date of latest modification. it would be nice if it is the date of entry, you think that is possible?
anyways thanks so so much for sharing this script!!
I get TypeError
when running the script with Include deleted expenses?
option enabled:
Traceback (most recent call last):
File "/splitwise_export/splitwise_export.py", line 173, in <module>
main()
File "<redacted>/splitwise_export/splitwise_export.py", line 170, in main
expenses_to_csv(expenses)
File "<redacted>/splitwise_export/splitwise_export.py", line 156, in expenses_to_csv
df['Deleted'] = df.apply(lambda row: get_user_name(row['Deleted']), axis=1)
File "<redacted>/.local/share/virtualenvs/splitwise_export-vGNwKnlj/lib/python3.10/site-packages/pandas/core/frame.py", line 10034, in apply
return op.apply().__finalize__(self, method="apply")
File "<redacted>/.local/share/virtualenvs/splitwise_export-vGNwKnlj/lib/python3.10/site-packages/pandas/core/apply.py", line 837, in apply
return self.apply_standard()
File "<redacted>/.local/share/virtualenvs/splitwise_export-vGNwKnlj/lib/python3.10/site-packages/pandas/core/apply.py", line 965, in apply_standard
results, res_index = self.apply_series_generator()
File "<redacted>/.local/share/virtualenvs/splitwise_export-vGNwKnlj/lib/python3.10/site-packages/pandas/core/apply.py", line 981, in apply_series_generator results[i] = self.func(v, *self.args, **self.kwargs)
File "<redacted>/splitwise_export/splitwise_export.py", line 156, in <lambda>
df['Deleted'] = df.apply(lambda row: get_user_name(row['Deleted']), axis=1)
File "<redacted>/splitwise_export/splitwise_export.py", line 102, in get_user_name
return user.getFirstName() + " " + user.getLastName()
TypeError: can only concatenate str (not "NoneType") to str
Exporter works fine otherwise. I added print(user)
as a quick check, and in all but one invocation user == None
. I'm happy to provide more details should you need any.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.