Skip to main content

A Python SDK for the Lord of the Rings API

Project description

LOTR SDK

The LOTR SDK is a Python library for accessing the Lord of the Rings API. It provides a simple and easy-to-use interface for retrieving data from the API.

Installation

You can install the LOTR SDK using pip:

pip install lotr-sdk

Usage

from lotr_sdk import LOTR_SDK

bearer_token = "your_bearer_token_here"
lotr_sdk = LOTR_SDK(bearer_token)

movies = lotr_sdk.get_movies()
print(movies)

movie = lotr_sdk.get_movie("5cd95395de30eff6ebccde5b")
print(movie)

movie_quotes = lotr_sdk.get_movie_quotes("5cd95395de30eff6ebccde5b")
print(movie_quotes)

quotes = lotr_sdk.get_quotes()
print(quotes)

quote = lotr_sdk.get_quote("5cd99d4bde30eff6ebccde5c")
print(quote)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

gmurtaza_lotr_sdk-0.0.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file gmurtaza_lotr_sdk-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: gmurtaza_lotr_sdk-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/41.2.0 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/2.7.18

File hashes

Hashes for gmurtaza_lotr_sdk-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ebc6dacfc3796095359b1300cd6d76453234d70df57203e9b789e7df7361dbfb
MD5 1153348f562ceb4d5e5f1b02b48a64ff
BLAKE2b-256 ef35f8840fba513d6fb7d00e8c0b9caa5f79559dca53eba7171729254b4baa21

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