Skip to main content

Cast it into the fire!

Run pip3 install lotronexyz12_sdk

Import the SDK from lotronexyz12_sdk import LOTR_SDK

Examples

client = LOTR_SDK()

# query the movie endpoint
movie_endpoint = client.endpoint('movie')
# Fetch all movies
movies = movie_endpoint.fetch_all()
# Fetch all movies with OPTIONS
# limit -> int
# page -> int
# offset -> int
# sort -> str. 
    Sort by movie name -> "name:asc" or "name:desc"

# filter -> str
    - Less than, greater than or equal to.
    - Keys:  academyAwardWins, runtimeInMinutes, and budgetInMillions.
    - Example value: academyAwardWins>10&runtimeInMinutes>=160

movies = endpoint.fetch_all(
    options={
        'limit' : 5,
        #'page' : 2,
        #'offset' : 3,
        'sort' : 'name:asc',
    }, 
    filter = 'academyAwardWins>10&runtimeInMinutes>=160'
)
# Fetch a single movie
movies = endpoint.fetch_one(
    '5cd95395de30eff6ebccde5d',     # movie _id
    with_quotes=True,               # return quotes from movie, default is False
    
    options = {                     # Options similar to fetch_all
        'sort' : 'character:desc',  # Sort by movie name or character if with_quotes=True
        'limit' : 5
    }
)

Metadata

Release files for lotronexyz12-sdk 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lotronexyz12-sdk 0.1.3
File Size Uploaded Provenance Actions
lotronexyz12_sdk-0.1.3.tar.gz 3.5 kB Without provenance Details for lotronexyz12_sdk-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lotronexyz12-sdk 0.1.3
File Interpreter ABI Platform Actions
lotronexyz12_sdk-0.1.3-py3-none-any.whl Python 3 none any Details for lotronexyz12_sdk-0.1.3-py3-none-any.whl

Total release size: 10.3 kB

Release files / lotronexyz12_sdk-0.1.3.tar.gz

Download URL lotronexyz12_sdk-0.1.3.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0222099bf5d504fe6a18a6d7ad439c0fe337c14a4f0211b22123e5b8ca37af07
BLAKE2b-256 checksum
How to use checksums
4479cc323650c2046302e78a559c8d2ed0c08d1acf0f653594a4f5e0d358f08d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release files / lotronexyz12_sdk-0.1.3-py3-none-any.whl

Download URL lotronexyz12_sdk-0.1.3-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
820f6448d43ec895e4e0f1a5756888d344f45dc3e24b0b753bcabe69c8703c09
BLAKE2b-256 checksum
How to use checksums
9c70387c8487f4e4e575ecfd93b09781409b6bb04f6229ed68272cdbc9738706
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Security for lotronexyz12-sdk 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page