Wykop v2 REST API Client
Project description
pywykop3
Python REST API Client for Wykop2 (via api v3)
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
-
Execute code:
from pywykop3 import WykopAPI api = WykopAPI(key=key, secret=secret) url = api.connect() print(url) -
Open url, log into your accout
-
Allow access to your account
-
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3df70a2f42b5d077745313afa03e53cf79fda0e933a583a69c9a635659baba62
|
|
| MD5 |
2076a3290671bc64ccb64c3064a8b153
|
|
| BLAKE2b-256 |
947da1263f9e6bb446a4bf843655b9baee2a1884672baaa8c8fcfb2d8467e863
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9127a7ed9371086bd3484f08e044f89e55f1dc8cba1712a77200b2c1d58fed0c
|
|
| MD5 |
a91ea6b089046ecde12f1492c53c13a7
|
|
| BLAKE2b-256 |
ebda10102c5ef25d6f97575e03c5d8b6a706734f84d88c153ef28e30dca54698
|