Kylart / MalScraper

Scrape everything you can from MyAnimeList.net
MIT License
177 stars 50 forks source link

Created getUser() method #85

Closed StavrosNik4 closed 1 year ago

StavrosNik4 commented 1 year ago

I made a getUser method to scrap information, stats etc about a user. It was also requested in https://github.com/Kylart/MalScraper/issues/63 I didn't make a data user model because I'm not familiar with TypeScript, I hope someone else can do it. My method still works.

Kylart commented 1 year ago

I forgot to mention this but can you change the result properties names to use camelCase instead of PascalCase? This way it's coherent with the prest of the package.

StavrosNik4 commented 1 year ago

I added a camelize method in d357f88, for some reason camelCase() didn't work. @Kylart I think I fix everything, do you believe we are ready to proceed to the merging or should I provide more documentation as well? I don't think I have that much time right now to add tests. I will add them once I have more time.