Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

README.md not up-to-date #13

Open
ctmbl opened this issue Jun 12, 2023 · 1 comment
Open

README.md not up-to-date #13

ctmbl opened this issue Jun 12, 2023 · 1 comment

Comments

@ctmbl
Copy link

ctmbl commented Jun 12, 2023

The README.md is missleading the user, we can read:
in Usage section

api = HaApiV5(
        api_base='api.helloasso.com',
        client_id=XXXXXX,
        client_secret=XXXXXX,
        timeout=60
    )

And
in Usage Exemple section

api = ApiV5(
        api_base='api.helloasso.com',
        client_id=XXXXXX,
        client_secret=XXXXXX,
        timeout=60
    )

api.call("url", method="POST", data={...})

Two different names are given ApiV5 and HaApiV5 for the main class, I found out that HaApiV5 was the right one

In Authorization section
We can read

from apiv5 import ApiV5

Where, from my experience, it should be,

from helloasso_api import HaApiV5
@ctmbl
Copy link
Author

ctmbl commented Jun 12, 2023

I could propose a PR to update the documentation if you wish!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant