Skip to content

Commit 32f5f51

Browse files
committed
fix readme links and test error
1 parent 63eb4b0 commit 32f5f51

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

README.rst

+8-8
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Welcome to TMDbAPIs Documentation!
66
:alt: Read the Docs
77

88
.. image:: https://img.shields.io/github/v/release/meisnate12/TMDbAPIs?style=plastic
9-
:target: https://github.com/meisnate12/TMDbAPI/releases
9+
:target: https://github.com/meisnate12/TMDbAPIs/releases
1010
:alt: GitHub release (latest by date)
1111

1212
.. image:: https://img.shields.io/pypi/v/TMDbAPIs?style=plastic
@@ -64,7 +64,7 @@ To create a TMDbAPIs Object you need your V3 API Key, which can be found followi
6464
Authenticating V3 API Token
6565
----------------------------------------------------------
6666

67-
To authenticate your TMDb V3 API Token you can either authenticate your TMDb V4 Token or use the :meth:`~tmdbapis.tmdb.TMDbAPIs.authenticate` method.
67+
To authenticate your TMDb V3 API Token you can either authenticate your TMDb V4 Token or use the `authenticate() <https://tmdbapis.readthedocs.io/en/latest/objapi.html#tmdbapis.tmdb.TMDbAPIs.authenticate>`_ method.
6868

6969
.. code-block:: python
7070
@@ -92,7 +92,7 @@ To save your authenticated session use the ``session_id`` Attribute.
9292
with open("session_id.txt", "w") as text_file:
9393
print(tmdb.session_id, file=text_file)
9494
95-
To load the authenticated session use the ``session_id`` Parameter of the :class:`~tmdbapis.tmdb.TMDbAPIs` constructor.
95+
To load the authenticated session use the ``session_id`` Parameter of the `TMDbAPIs <https://tmdbapis.readthedocs.io/en/latest/objapi.html#tmdbapis.tmdb.TMDbAPIs>`_ constructor.
9696

9797
.. code-block:: python
9898
@@ -110,7 +110,7 @@ To load the authenticated session use the ``session_id`` Parameter of the :class
110110
Adding TMDb V4 API Read Access Token
111111
----------------------------------------------------------
112112

113-
To gain read access to TMDb V4's API just provide you're TMDb V4 Access Token either using the ``v4_access_token`` Parameter of the :class:`~tmdbapis.tmdb.TMDbAPIs` constructor or by using the :meth:`~tmdbapis.tmdb.TMDbAPIs.v4_access_token` method.
113+
To gain read access to TMDb V4's API just provide you're TMDb V4 Access Token either using the ``v4_access_token`` Parameter of the `TMDbAPIs <https://tmdbapis.readthedocs.io/en/latest/objapi.html#tmdbapis.tmdb.TMDbAPIs>`_ constructor or by using the `v4_access_token() <https://tmdbapis.readthedocs.io/en/latest/objapi.html#tmdbapis.tmdb.TMDbAPIs.v4_access_token>`_ method.
114114

115115
To gain read access to TMDb V4's API need your TMDb V4 Access Token, which can be found following `this guide <https://developers.themoviedb.org/3/getting-started/introduction>`_.
116116

@@ -129,9 +129,9 @@ Authenticating TMDb V4 API Token
129129

130130
To authenticate your TMDB V4 Read Access Token it is a multi step process.
131131

132-
1. Add your TMDb V4 API Read Access Token.
133-
2. Authenticate the URL returned from :meth:`~tmdbapis.tmdb.TMDbAPIs.v4_authenticate`.
134-
3. Once the URL has been authenticated you must approve it by running :meth:`~tmdbapis.tmdb.TMDbAPIs.v4_approved`.
132+
1. Add your TMDb V4 API Read Access Token.
133+
2. Authenticate the URL returned from `v4_authenticate() <https://tmdbapis.readthedocs.io/en/latest/objapi.html#tmdbapis.tmdb.TMDbAPIs.v4_authenticate>`_.
134+
3. Once the URL has been authenticated you must approve it by running `v4_approved() <https://tmdbapis.readthedocs.io/en/latest/objapi.html#tmdbapis.tmdb.TMDbAPIs.v4_approved>`_.
135135

136136
.. code-block:: python
137137
@@ -167,7 +167,7 @@ To save your authenticated token use the ``v4_access_token`` Attribute.
167167
with open("access_token.txt", "w") as text_file:
168168
print(tmdb.v4_access_token, file=text_file)
169169
170-
To load the authenticated token use the ``v4_access_token`` Parameter of the :class:`~tmdbapis.tmdb.TMDbAPIs` constructor or the :meth:`~tmdbapis.tmdb.TMDbAPIs.v4_access_token` method.
170+
To load the authenticated token use the ``v4_access_token`` Parameter of the `TMDbAPIs <https://tmdbapis.readthedocs.io/en/latest/objapi.html#tmdbapis.tmdb.TMDbAPIs>`_ constructor or the `v4_access_token() <https://tmdbapis.readthedocs.io/en/latest/objapi.html#tmdbapis.tmdb.TMDbAPIs.v4_access_token>`_ method.
171171

172172
.. code-block:: python
173173

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.1
1+
0.1.2

docs/intro.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Welcome to TMDbAPIs Documentation!
66
:alt: Read the Docs
77

88
.. image:: https://img.shields.io/github/v/release/meisnate12/TMDbAPIs?style=plastic
9-
:target: https://github.com/meisnate12/TMDbAPI/releases
9+
:target: https://github.com/meisnate12/TMDbAPIs/releases
1010
:alt: GitHub release (latest by date)
1111

1212
.. image:: https://img.shields.io/pypi/v/TMDbAPIs?style=plastic

tmdbapis/objs/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def _parse(self, data=None, attrs: Optional[Union[str, list]] = None, value_type
240240
elif value["media_type"] == "person":
241241
return tmdbapis.objs.reload.Person(self._tmdb, value)
242242
elif value_type == "list":
243-
return tmdbapis.objs.pagination.List(self._tmdb, value)
243+
return tmdbapis.objs.pagination.TMDbList(self._tmdb, value)
244244
elif value_type == "movie_reviews":
245245
return tmdbapis.objs.pagination.MovieReviews(self._tmdb, value, key)
246246
elif value_type == "lists":

0 commit comments

Comments
 (0)