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

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

pywykop3-0.3-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file pywykop3-0.3.tar.gz.

File metadata

  • Download URL: pywykop3-0.3.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pywykop3-0.3.tar.gz
Algorithm Hash digest
SHA256 13154f471aa7a61d06a8a64a975cf7e9c40e2e6ac9f3457af2b67251585b495d
MD5 e5d0db86124a3cb3c799987d0358ba9e
BLAKE2b-256 c86eda381b61db16924fb58f80bccdcd1b80c45154a76af936e9b3f4c1ba767f

See more details on using hashes here.

File details

Details for the file pywykop3-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pywykop3-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pywykop3-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a093ef986313a7943dd41f72295abef5630e38780ab75c8d54e880578393cfbe
MD5 90e01c87b23ac9e35e1210cf54bdb1bb
BLAKE2b-256 5685a0d9c6e4169783578ad41ca3ab56cba6f5bbb184d690dbe572eb79680424

See more details on using hashes here.

File details

Details for the file pywykop3-0.3-py3-none-any.whl.

File metadata

  • Download URL: pywykop3-0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pywykop3-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 edbcd5d29819f84f1695c8bc492d401adb0fc4579798f847a20ba4bae05905e6
MD5 3949451f3f9342bad626da52e68c336b
BLAKE2b-256 31a717e543e2e4cb759cc55294f7e84aebc09f8ba19c128ed16285a307180ddc

See more details on using hashes here.

Supported by

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