Skip to content

KoleS46/wykop-sdk-reborn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wykop API v2 Python SDK

PyPI version

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.

Instalacja

pip install wykop-sdk-reborn

Uwierzytelnienie

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()

Jak pomóc?

  • 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

Zgłaszanie błędów

issues albo napisz mi PW na wykopie @krasnoludkolo

Stan implementacji metod api

Addlink

Metoda API Metoda SDK
Draft
Images
Add

Entries

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

Hits

Metoda API Metoda SDK
Popular get_hits_popular
Day
Week
Month get_hits_month
Year

Links

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

Login

Metoda API Metoda SDK
Index
Connect

Mywykop

Metoda API Metoda SDK
Index
Tags
Users
Entries
Links

Notifications

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

PM

Metoda API Metoda SDK
ConversationsList get_conversations_list
Conversation get_conversation
SendMessage send_message
DeleteConversation

Profiles

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

Search

Metoda API Metoda SDK
Links
Entries
Profiles

Settings

Metoda API Metoda SDK
Profile
Avatar
Background
Password
ResetPassword

Suggest

Metoda API Metoda SDK
Tags
Users

Tags

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

Terms

Metoda API Metoda SDK
Index
Confirm

About

Pythonowy klient Wykop API v2

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%