Giter Site home page Giter Site logo

Comments (16)

JamesHenry avatar JamesHenry commented on May 28, 2024 1

Thanks so much @j-f1, sorry for the delay. I will set aside some time this weekend to try this out and let you know!

from docs.

manuelseeger avatar manuelseeger commented on May 28, 2024

runWithBudget doesn't exist anymore. The API docs are now here: https://github.com/actualbudget/actual/blob/master/docs/API.md

Additional hint: you'll need the technical uuid for load-budget.

from docs.

7aklhz avatar 7aklhz commented on May 28, 2024

Well that explains a lot ! I did realize by looking at the functions that it was missing but this is now clearer

What is "technical uuid" ?

Also, can you give me an example of init config ? I'm having this for the moment

await actual.init({
        config: {
            dataDir: { config: { dataDir: '/documents/Actual' } }
        }
    });

But it's not working

from docs.

7aklhz avatar 7aklhz commented on May 28, 2024

Ok, i got it to work. Thanks

from docs.

amthna avatar amthna commented on May 28, 2024

@7aklhz would you mind sharing how you got this running? I'm having issues myself.

from docs.

rich-howell avatar rich-howell commented on May 28, 2024

Moved this to documentation to build out some more examples around this as the issue itself isn't actually an issue but rather a call for advice.

from docs.

JamesHenry avatar JamesHenry commented on May 28, 2024

@rich-howell I'm confused as to why this isn't an issue? I ended up here because the documentation website gives out of date instructions, that's an issue with the docs, right?

The docs currently tell you to use runWithBudget which doesn't exist:

https://github.com/actualbudget/docs/blob/master/docs/Developers/using-the-API.md

This comment #52 (comment) above does not seem to be applicable anymore either:

Because https://github.com/actualbudget/actual/blob/master/docs/API.md does not exist.

Are there any up to date docs for how to use the API please?

from docs.

j-f1 avatar j-f1 commented on May 28, 2024

Here’s the docs from when that comment was posted: https://github.com/actualbudget/actual/blob/HEAD@%7B2022-09-22T12:05:27Z%7D/docs/API.md

from docs.

JamesHenry avatar JamesHenry commented on May 28, 2024

Thanks @j-f1, do you have any idea how to figure out the value to give to dataDir? I am just running the actual-server repo locally...

This is my first time getting reacquainted with the project since the switch to OSS

from docs.

j-f1 avatar j-f1 commented on May 28, 2024

Working on updating the docs, it’s a bit complicated and I think the API package needs some improvements to make things easier.

from docs.

j-f1 avatar j-f1 commented on May 28, 2024

The dataDir should be the user-files dir of the server.

from docs.

JamesHenry avatar JamesHenry commented on May 28, 2024

@j-f1 that is what I had guessed but it doesn't seem to work...

Again this is a fresh installation, I have not done anything custom AFAIK

image

image

from docs.

j-f1 avatar j-f1 commented on May 28, 2024

Try the Sync ID instead.

from docs.

JamesHenry avatar JamesHenry commented on May 28, 2024

@j-f1 sadly not! Hopefully you or one of the other maintainers wouldn't mind trying to repro with a fresh copy of actual-server some time next week

from docs.

j-f1 avatar j-f1 commented on May 28, 2024

Try again with v5 of the API package and let me know if you still have issues :)

from docs.

MatissJanis avatar MatissJanis commented on May 28, 2024

This should be fixed. Closing

from docs.

Related Issues (20)

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.