Skip to main content

Client library for Wykop API v2

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wykop-sdk-reborn-0.1.7.tar.gz (11.9 kB view hashes)

Uploaded Source

Built Distribution

wykop_sdk_reborn-0.1.7-py3-none-any.whl (14.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page