GithubHelp home page GithubHelp logo

splitwise_export's People

Contributors

garrettdowd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

splitwise_export's Issues

oauth_verifier

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

export includes outdated entries

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!!

`NoneType` and string concatenation when exporting with deleted expenses

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.