mdespuits / minty Goto Github PK
View Code? Open in Web Editor NEW(Unofficial) Ruby API for Mint.com
License: MIT License
(Unofficial) Ruby API for Mint.com
License: MIT License
Running minty accounts from the command line seem to output in thousands. So if I had $1000 on a credit card, it outputs like this:
CREDIT CARD | Credit | $ 1.00 |
Thanks,
zeninfinity
It seems like authentication is now failing.
I've tried removing the ~/.minty file and performing a fresh login, I've tried running it from another machine, I've tried logging onto mint in my browser to initiate a new session, but no luck.
user:dashing user$ minty login
You are already logged in, [email protected].
user:dashing user$ minty accounts
/Users/user/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/json-1.8.3/lib/json/common.rb:155:in `parse': 757: unexpected token at '<error><code>1</code><description>Session has expired.</description><name></name><type></type></error>' (JSON::ParserError)
from /Users/user/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/json-1.8.3/lib/json/common.rb:155:in `parse'
from /Users/user/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/minty-0.1/lib/minty/client.rb:41:in `block in accounts'
from /Users/user/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/minty-0.1/lib/minty/client.rb:91:in `login'
from /Users/user/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/minty-0.1/lib/minty/client.rb:39:in `accounts'
from /Users/user/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/minty-0.1/lib/minty/cli/accounts.rb:55:in `accounts'
from /Users/user/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/minty-0.1/lib/minty/cli/accounts.rb:41:in `exec'
from /Users/user/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/minty-0.1/bin/minty:11:in `<top (required)>'
from /Users/user/.rbenv/versions/2.2.3/bin/minty:23:in `load'
from /Users/user/.rbenv/versions/2.2.3/bin/minty:23:in `<main>'
When running minty login --help I get:
[user@machine minty]$ minty login --help
/home/user/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/pstore.rb:315:in transaction': undefined method
locked?' for nil:NilClass (NoMethodError)
from /home/user/prog/minty/lib/minty/credentials.rb:56:in save' from /home/user/prog/minty/lib/minty/credentials.rb:14:in
rescue in load'
from /home/user/prog/minty/lib/minty/credentials.rb:11:in load' from /home/user/prog/minty/lib/minty/cli/command.rb:11:in
initialize'
from /home/user/prog/minty/bin/minty:9:in new' from /home/user/prog/minty/bin/minty:9:in
<top (required)>'
from /home/user/.rvm/gems/ruby-1.9.3-p448/bin/minty:23:in load' from /home/user/.rvm/gems/ruby-1.9.3-p448/bin/minty:23:in
eval' from /home/user/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in
'
Is there a place I'm suppose to put my login information?
Thanks.
Unable to install-
ERROR: Could not find a valid gem 'minty' (>= 0) in any repository
I wasn't sure the best place to put this so I'll throw it in an Issue... If I'm running an app that uses Minty on, say, Heroku, where I don't have a ~/.minty file, I need to use Minty::Credentials.new
rather than Minty::Credentials.load
so it'll default to the ENV variables. However, since the user and pass arguments to Credentials.initialize
are required, I have to explicitly pass nil. It would make sense to me to have those arguments default to nil, so one can just call Minty::Credentials.new
without arguments and have it source from the ENV rather than the .minty file.
It's a small enough change that I didn't wanna create a branch and do it myself, and I also didn't want to include it in the transaction-uploading branch in case you were adverse to the idea.
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.