Refactor like_by, follow_by, comment_by => interact_by
- Lingua principale
- Python
- Stelle
- 18.2k
- Fork
- 3.9k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
#### In order to make InstaPy easier to use we want to cut down on the amount of ways things can be done. One of the ways to start making it simpler is to remove the separate methods `like_by_...`, `comment_by_...` and `follow_by_...` and introducing a common "interface" as `interact_by_...`.
Advantages of this feature:
- Clean up code base
- Less places to fix problems if elements change
- Deduplication of code
- Simpler documentation
- Higher level of abstraction
- Unified interface for users (always `interact_by` followed by e.g. `tags`, `users` etc.) and then controlling interactions by using `set_do_like`, `set_do_comment` and `set_do_follow`
Possible ways of achieving:
- Use the already existing methods as a "base line" on how this can be achieved
> [Back this Issue](https://opencollective.com/instapy)
---
###### Feel free to comment with adjustments and improvements
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.