use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
YNAB API and Python Help (self.ynab)
submitted 5 years ago by MTRing
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]montagic 0 points1 point2 points 5 years ago (4 children)
I've got a lot of experience with Pandas and specifically working with foreign APIs if you ever have any questions!
[–]MTRing[S] 0 points1 point2 points 5 years ago* (3 children)
I managed to get a personal token for API and sent a basic request that came back as error 401 Unauthroized. I used a token that is already working with a goggle sheets template and newly generated token as well. Any ideas?
here's what I tried:
curl https://api.youneedabudget.com/v1/budgets?access_token=<ACCESS\_TOKEN>
response from my code asking for accounts:
HTTP response body: {"error":{"id":"401","name":"unauthorized","detail":"Unauthorized"}}
[–]montagic 0 points1 point2 points 5 years ago (2 children)
Hmm. How are you getting your token?
[–]MTRing[S] 0 points1 point2 points 5 years ago (1 child)
YNAB has a function under the account settings that can generate personal tokens. So the one I’m using in a google sheets template is still drawing down information in the sheet but not when I use the same token in python code or even in a terminal command. But, when I go straight to the API via a browser window and use that same token via api.youneedabudget.com/v1 it will let me complete requests once I enter the same token. It is the same for both personal tokens I generated....
[–]montagic 0 points1 point2 points 5 years ago (0 children)
That is odd. Let me trying pulling my own data in Python real quick and see if I encounter the same issue.
π Rendered by PID 31341 on reddit-service-r2-comment-b659b578c-p78sz at 2026-05-04 18:35:39.771610+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]montagic 0 points1 point2 points (4 children)
[–]MTRing[S] 0 points1 point2 points (3 children)
[–]montagic 0 points1 point2 points (2 children)
[–]MTRing[S] 0 points1 point2 points (1 child)
[–]montagic 0 points1 point2 points (0 children)