Skip to content

Commit

Permalink
API version 2 usage
Browse files Browse the repository at this point in the history
  • Loading branch information
p1c2u committed Sep 5, 2017
1 parent 1eb96f2 commit 56a6c97
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,15 @@ Wykop posiada API w wersji 2. Jest to nowa, nieudokumentowana wersja API. Implem

Uwierzytelnienie działa tylko z kluczami ze wsparciem dla tej wersji API.

Przykładowe użycie:

::

from wykop import WykopAPIv2

api = WykopAPIv2(klucz_aplikacji, sekret_aplikacji)
profile = api.get_profile("m__b")

Zdefiniowane metody
^^^^^^^^^^^^^^^^^^^

Expand Down
1 change: 1 addition & 0 deletions wykop/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Python library for the Wykop API."""
from wykop.api.v1.clients import WykopAPIv1 as WykopAPI
from wykop.api.v2.clients import WykopAPIv2
from wykop.api.exceptions import WykopAPIError
from wykop.utils import get_version

Expand Down

0 comments on commit 56a6c97

Please sign in to comment.