Skip to main content

Wykop v2 REST API Client

Project description

pywykop3

Python REST API Client for Wykop2 (via api v3)

Pylint Pytest Upload Python Package Code style: black

Usage

from pywykop3 import WykopAPI

# Without login
api = WykopAPI(key=key, secret=secret)

# User logged in
api = WykopAPI(refresh_token=refresh_token)

Obtaining Refresh Token

  1. Execute code:

    from pywykop3 import WykopAPI
    api = WykopAPI(key=key, secret=secret)
    url = api.connect()
    print(url)
    
  2. Open url, log into your accout

  3. Allow access to your account

  4. Copy refresh token from url ('rtoken' variable)

Available methods

Users

  • get_users_autocomplete

Tags

  • get_users_autocomplete
  • get_tags_popular
  • get_tags_popular_user_tags
  • get_tags_related
  • get_tag
  • put_tag
  • get_tag_stream
  • get_tag_newer
  • get_tag_users
  • post_tag_user
  • delete_tag_user

Mikroblog

  • get_entries
  • post_entries
  • get_entry_by_id
  • put_entries
  • delete_entry_by_id
  • get_entry_votes
  • post_entry_vote
  • delete_entry_vote
  • get_entries_newer

Mikroblog - komentarze

  • get_entry_comments
  • post_entry_comment
  • get_entry_comment
  • put_entry_comment
  • delete_entry_comment
  • get_entry_comment_votes
  • post_entry_comment_vote
  • delete_entry_comment_vote

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

pywykop3-0.3.tar.gz (8.9 kB view hashes)

Uploaded Source

Built Distributions

pywykop3-0.3.0-py3-none-any.whl (9.6 kB view hashes)

Uploaded Python 3

pywykop3-0.3-py3-none-any.whl (8.9 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