InstaPy / InstaPy/InstaPy

Refactor like_by, follow_by, comment_by => interact_by

Ouverte
#4,013 5 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
enhancement feature request
Langage dominant
Python
Étoiles
18.2k
Forks
3.9k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

#### 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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.