notion_api icon indicating copy to clipboard operation
notion_api copied to clipboard

NotionClient class was renamed to Client

Open ghzeni opened this issue 1 year ago • 2 comments

Hello! I don't know if this was planned due to it being a beta version and whatnot, but using notion_api: ^2.0.0-beta2 in the dependencies and using the example, there is an error due to a class name change from NotionClient to Client.

I'm not familiar with issues or commenting on other people's packages, just wanted to let you know that the example is outdated with the most recent version 😁

ghzeni avatar Mar 14 '23 13:03 ghzeni

Yeess, I'm so sorry but I haven't touch this project in a while and I could not finish to let the beta version working, so probably is as you say and the fact that probably notion already change stuff with his API, but I'm not sure.

If it helps feel free to use the code as a base because I don't know when I'm going to be able to work again in this package, but thank you for letting me know, I will let the Issue open hoping for the best 😢

jonathangomz avatar Mar 14 '23 19:03 jonathangomz

Yeess, I'm so sorry but I haven't touch this project in a while and I could not finish to let the beta version working, so probably is as you say and the fact that probably notion already change stuff with his API, but I'm not sure.

If it helps feel free to use the code as a base because I don't know when I'm going to be able to work again in this package, but thank you for letting me know, I will let the Issue open hoping for the best 😢

No problem! I'd love to contribute if I had the necessary knowledge, but as of now I'm still a complete beginner to all of this 😁

Either way, congratulations on the package! It's very easy to use and gets the job done. I can't imagine how complicated it must be to create a package from scratch. Amazing work!

ghzeni avatar Mar 15 '23 10:03 ghzeni