Project description
Wykop API v2 Python SDK
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
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 |
:x: |
Images |
:x: |
Add |
:x: |
Entries
|
|
Metoda API |
Metoda SDK |
Stream |
get_stream_entries |
Hot |
get_hot_entries |
Active |
:x: |
Observed |
:x: |
Entry |
get_entry |
Add |
:x: |
Edit |
:x: |
VoteUp |
:x: |
VoteRemove |
:x: |
Upvoters |
:x: |
Delete |
:x: |
Comment |
:x: |
CommentAdd |
:x: |
CommentEdit |
:x: |
CommentDelete |
:x: |
CommentVoteUp |
:x: |
CommentVoteRemove |
:x: |
ObservedComments |
:x: |
Favorite |
:x: |
SurveyVote |
:x: |
CommentFavorite |
:x: |
Hits
|
|
Metoda API |
Metoda SDK |
Popular |
get_hits_popular |
Day |
:x: |
Week |
:x: |
Month |
get_hits_month |
Year |
:x: |
Links
|
|
Metoda API |
Metoda SDK |
Promoted |
get_links_promoted |
Upcoming |
:x: |
Observed |
:x: |
Link |
:x: |
VoteUp |
:x: |
VoteRemove |
:x: |
VoteDown |
:x: |
Upvoters |
:x: |
Downvoters |
:x: |
Top |
:x: |
Comments |
:x: |
CommentVoteUp |
:x: |
CommentVoteDown |
:x: |
CommentVoteCancel |
:x: |
CommentAdd |
:x: |
CommentEdit |
:x: |
CommentDelete |
:x: |
Comment |
:x: |
Related |
:x: |
RelatedAdd |
:x: |
RelatedVoteUp |
:x: |
RelatedVoteDown |
:x: |
Favorite |
:x: |
Login
|
|
Metoda API |
Metoda SDK |
Index |
:x: |
Connect |
:x: |
Mywykop
|
|
Metoda API |
Metoda SDK |
Index |
:x: |
Tags |
:x: |
Users |
:x: |
Entries |
:x: |
Links |
:x: |
Notifications
|
|
Metoda API |
Metoda SDK |
Index |
:x: |
Count |
:x: |
HashTags |
get_hashtags_notifications |
HashTagsCount |
get_hashtags_notifications_count |
Total |
:x: |
TotalCount |
get_notifications_count |
ReadAllNotifications |
:x: |
ReadDirectedNotifications |
:x: |
ReadHashTagsNotifications |
:x: |
MarkAsRead |
mark_notification_as_read |
PM
|
|
Metoda API |
Metoda SDK |
ConversationsList |
get_conversations_list |
Conversation |
get_conversation |
SendMessage |
send_message |
DeleteConversation |
:x: |
Profiles
|
|
Metoda API |
Metoda SDK |
Index |
:x: |
Actions |
:x: |
Added |
:x: |
Commented |
:x: |
Comments |
:x: |
Published |
:x: |
Entries |
:x: |
CommentedEntries |
:x: |
EntriesComments |
:x: |
Related |
:x: |
Followers |
:x: |
Followed |
:x: |
Badges |
:x: |
Digged |
:x: |
Buried |
:x: |
Rank |
:x: |
Observe |
observe_profile |
UnObserve |
unobserve_profile |
Block |
block_profile |
UnBlock |
unblock_profile |
AvailableColors |
:x: |
Search
|
|
Metoda API |
Metoda SDK |
Links |
:x: |
Entries |
:x: |
Profiles |
:x: |
Settings
|
|
Metoda API |
Metoda SDK |
Profile |
:x: |
Avatar |
:x: |
Background |
:x: |
Password |
:x: |
ResetPassword |
:x: |
Suggest
|
|
Metoda API |
Metoda SDK |
Tags |
:x: |
Users |
:x: |
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 |
:x: |
Confirm |
:x: |
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution