Skip to main content

Wykop v2 REST API Client

Project description

pywykop3

Python REST API Client for Wykop2 (via api v3)

Pylint Create Release Code style: black

Full documentation can be found HERE API documentation can be found HERE

Usage

from pywykop3 import WykopAPI

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

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

list_of_users = api.get_entry_comment_votes(70432439, 249723413)

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)

After execution of your app, you should save new refresh-token (wyko_api.connector.refresh_token) and use it next time

Available methods

  • ❌ - Not tested
  • ✔️ - Tested
  • ⛔ - Unable to test

Users

Method Tested?
get_users_autocomplete ✔️

Tags

Method Tested?
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

Method Tested?
get_entries
post_entry ✔️
get_entry_by_id ✔️
put_entry ✔️
delete_entry_by_id ✔️
get_entry_votes ✔️
post_entry_vote
delete_entry_vote
get_entries_newer

Mikroblog - komentarze

Method Tested?
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

Media

Method Tested?
post_media_photo ✔️
post_media_photo_by_url ✔️
delete_media_photo

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.7.0.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

pywykop3-0.7.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pywykop3-0.7.0.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for pywykop3-0.7.0.tar.gz
Algorithm Hash digest
SHA256 3df70a2f42b5d077745313afa03e53cf79fda0e933a583a69c9a635659baba62
MD5 2076a3290671bc64ccb64c3064a8b153
BLAKE2b-256 947da1263f9e6bb446a4bf843655b9baee2a1884672baaa8c8fcfb2d8467e863

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pywykop3-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for pywykop3-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9127a7ed9371086bd3484f08e044f89e55f1dc8cba1712a77200b2c1d58fed0c
MD5 a91ea6b089046ecde12f1492c53c13a7
BLAKE2b-256 ebda10102c5ef25d6f97575e03c5d8b6a706734f84d88c153ef28e30dca54698

See more details on using hashes here.

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