Biblioteka ta jest implementacją Wykop API v2 w Python.
Fork wykop-sdk w którym staram się poprawiać sdk wraz z (nie)udokumentowanymi zmianami w api wykopu.
pip install wykop-sdk-reborn
Aby móc wykonywać działania jako zalogowany użytkownik należy się wcześniej uwierzytenić. Potrzebne do tego będą klucze aplikacji, oraz klucz "połączenie" które można wygenerować tutaj
import wykop
api = wykop.WykopAPIv2(klucz_aplikacji, sekret_aplikacji)
api.authenticate(klucz_polaczenia)
api.get_conversations_list()
# lub
api = WykopAPIv2(key, secret, accountkey=account_key)
api.authenticate()
api.get_conversations_list()
- Masz pomysł albo chcesz zgłosić błąd?
Zgłoś w zakładce issues
- Chcesz pomóc w rozwoju?
Wybierz jakieś zadanie z issues, napisz komentarz ze chcesz się nim zając i mnie oznacz. Zrób forka repo, opracuj rozwiązanie i wystaw RPa
issues albo napisz mi PW na wykopie @krasnoludkolo
Metoda API | Metoda SDK |
Draft | ❌ |
Images | ❌ |
Add | ❌ |
Metoda API | Metoda SDK |
Stream | get_stream_entries |
Hot | get_hot_entries |
Active | ❌ |
Observed | ❌ |
Entry | get_entry |
Add | ❌ |
Edit | ❌ |
VoteUp | ❌ |
VoteRemove | ❌ |
Upvoters | ❌ |
Delete | ❌ |
Comment | ❌ |
CommentAdd | ❌ |
CommentEdit | ❌ |
CommentDelete | ❌ |
CommentVoteUp | ❌ |
CommentVoteRemove | ❌ |
ObservedComments | ❌ |
Favorite | ❌ |
SurveyVote | ❌ |
CommentFavorite | ❌ |
Metoda API | Metoda SDK |
Popular | get_hits_popular |
Day | ❌ |
Week | ❌ |
Month | get_hits_month |
Year | ❌ |
Metoda API | Metoda SDK |
Promoted | get_links_promoted |
Upcoming | ❌ |
Observed | ❌ |
Link | ❌ |
VoteUp | ❌ |
VoteRemove | ❌ |
VoteDown | ❌ |
Upvoters | ❌ |
Downvoters | ❌ |
Top | ❌ |
Comments | ❌ |
CommentVoteUp | ❌ |
CommentVoteDown | ❌ |
CommentVoteCancel | ❌ |
CommentAdd | ❌ |
CommentEdit | ❌ |
CommentDelete | ❌ |
Comment | ❌ |
Related | ❌ |
RelatedAdd | ❌ |
RelatedVoteUp | ❌ |
RelatedVoteDown | ❌ |
Favorite | ❌ |
Metoda API | Metoda SDK |
Index | ❌ |
Connect | ❌ |
Metoda API | Metoda SDK |
Index | ❌ |
Tags | ❌ |
Users | ❌ |
Entries | ❌ |
Links | ❌ |
Metoda API | Metoda SDK |
Index | get_direct_notifications |
Count | get_direct_notifications_count |
HashTags | get_hashtags_notifications |
HashTagsCount | get_hashtags_notifications_count |
Total | get_all_notifications |
TotalCount | get_all_notifications_count |
ReadAllNotifications | mark_all_notification_as_read |
ReadDirectedNotifications | mark_all_direct_notification_as_read |
ReadHashTagsNotifications | mark_all_hashtag_notification_as_read |
MarkAsRead | mark_notification_as_read |
Metoda API | Metoda SDK |
ConversationsList | get_conversations_list |
Conversation | get_conversation |
SendMessage | send_message |
DeleteConversation | ❌ |
Metoda API | Metoda SDK |
Index | ❌ |
Actions | ❌ |
Added | ❌ |
Commented | ❌ |
Comments | ❌ |
Published | ❌ |
Entries | ❌ |
CommentedEntries | ❌ |
EntriesComments | ❌ |
Related | ❌ |
Followers | ❌ |
Followed | ❌ |
Badges | ❌ |
Digged | ❌ |
Buried | ❌ |
Rank | ❌ |
Observe | observe_profile |
UnObserve | unobserve_profile |
Block | block_profile |
UnBlock | unblock_profile |
AvailableColors | ❌ |
Metoda API | Metoda SDK |
Links | ❌ |
Entries | ❌ |
Profiles | ❌ |
Metoda API | Metoda SDK |
Profile | ❌ |
Avatar | ❌ |
Background | ❌ |
Password | ❌ |
ResetPassword | ❌ |
Metoda API | Metoda SDK |
Tags | ❌ |
Users | ❌ |
Metoda API | Metoda SDK |
Index | get_tag |
Links | get_tag_links |
Entries | get_tag_entries |
Observe | observe_tag |
Unobserve | unobserve_tag |
Notify | enable_tags_notifications |
Dontnotify | disable_tags_notifications |
Block | block_tag |
Unblock | unblock_tag |
Metoda API | Metoda SDK |
Index | ❌ |
Confirm | ❌ |