Skip to main content

Rick And Morty SDK - Unofficial

PyPI version

Unofficial SDK library for interacting with the API Rick and Morty API.

Install

pip install UORickandmortyapi-sdk

Basic Usage

from uorickandmortysdk import UORickAndMortySDK

mySDK = UORickAndMortySDK().setPrefix('character')

print(mySDK.get(1))       # Get a specific character.
print(mySDK.get())        # Get multiple characters.
print(mySDK.get(page=2))  # Get characters from a specific page.

Basic Example

from uorickandmortysdk import UORickAndMortySDK

mySDK = UORickAndMortySDK().setPrefix('character')

rick = mySDK.get(1)

print(rick['result']['name'])
print(rick['result']['status'])
print(rick['result']['species'])
print(rick['result']['type'])
print(rick['result']['gender'])
print(rick['result']['origin']['name'])
print(rick['result']['origin']['url'])

# ------- OUTPUT --------------#
# Rick Sanchez
# Alive
# Human
#
# Male
# Earth (C-137)
# https://rickandmortyapi.com/api/location/1

Metadata

Release files for UORickandmortyapi-sdk 0.0.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 UORickandmortyapi-sdk 0.0.3
File Size Uploaded Provenance Actions
uorickandmortyapi_sdk-0.0.3.tar.gz 2.3 kB Without provenance Details for uorickandmortyapi_sdk-0.0.3.tar.gz

Release files / uorickandmortyapi_sdk-0.0.3.tar.gz

Download URL uorickandmortyapi_sdk-0.0.3.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4aa3254b7832ce9642e27dc217dae63dd18da36117fe4728349b338ad2a8d953
BLAKE2b-256 checksum
How to use checksums
c96305d2f009f7c1d640f4d07ff3f2d74a7467a063738b039dcda1225c8cee18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for UORickandmortyapi-sdk 0.0.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.

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file No provenance

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