Proper API reference required.

96 views
Skip to first unread message

fsn7...@gmail.com

unread,
Aug 19, 2016, 6:28:27 PM8/19/16
to beautifulsoup
I tried BeautifulSoup and Jsoup, ofcourse Python version looks much simpler, faster to write, but when I tried to understand how to use Jsoup it was much much simpler to me, because they have proper API reference (https://jsoup.org/apidocs/) where you can view all classes, all their methods... There are must be such thing for bs.

Nathaniel Mills

unread,
Aug 9, 2024, 11:02:26 AM8/9/24
to beautifulsoup
I believe this is a good starting point:
https://tedboy.github.io/bs4_doc/generated/bs4.html#classes

I am trying to port from Java JSoup to Python BeautifulSoup at present and am trying to determine the proper mappings of JSoup classes (for parameter references).

Carlos

unread,
Aug 19, 2024, 7:40:59 PM8/19/24
to beautifulsoup
The bs4 documentation doesn't include yet an API Reference (in fact, it is already an open wished feature). The current one explains the usage of a lot of methods and covers a lot of aspects of the package.

Nathaniel Mills

unread,
Aug 19, 2024, 9:02:20 PM8/19/24
to beauti...@googlegroups.com
I found looking at the __init__.py in the package installed give you the code for the classes to help provide insights. 

--
You received this message because you are subscribed to the Google Groups "beautifulsoup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beautifulsou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beautifulsoup/7fd51f75-e978-4395-bbc7-35fbb430523bn%40googlegroups.com.

Chris Papademetrious

unread,
Aug 22, 2024, 7:55:01 AM8/22/24
to beautifulsoup
I use the Beautiful Soup documentation page that phoenix mentioned, along with the autocompletions and tooltips that VS Code provides.

Note that Beautiful Soup 4.13 might hopefully have improved VS Code type inference for method return values, as described here:


 - Chris
Reply all
Reply to author
Forward
0 new messages