juliomalegria / python-craigslist

Simple Craigslist wrapper
MIT No Attribution
387 stars 117 forks source link

Add show_categories() method, update show_filters(), and add '__all__' #108

Closed irahorecka closed 3 years ago

irahorecka commented 3 years ago

Hi Julio,

This PR groups a few changes that I believe would be beneficial to the package. The biggest feature is show_categories(), which displays valid categories for a given Craigslist class. I update show_filters() to print Craigslist class and category (if provided) when displaying class-specific filters. Lastly, I added __all__ to only allow imports of public objects in the craigslist module.

Let me know what you think. If these features look OK, I can follow up with an update of README.

-Ira

irahorecka commented 3 years ago

Arg... docstring typo.