Rick and Morty client for Rick and Morty API (https://rickandmortyapi.com/)
Project description
Rick And Morty Client
- Python implementation for the Rick and Morty API (https://rickandmortyapi.com/)
About
All methods return json
Installation:
pip install rickandmorty
Import:
import rickandmorty
Base class features:
from rickandmorty.base import Base
- It does not return anything. It was created for easy use of the base url(https://rickandmortyapi.com/api/) in other classes.
Characters class features:
from rickandmorty.character_client import Characters
- It includes 4 funtions:
1.getAll(): Returns, all characters information.
2.getSingle():Returns, the properties of the given number's defined character (Between 1 to 671).
3.getMultiple(): Returns, The properties of the given numbers' defined characters (Between 1 to 671).
4.filter():Returns, Characters matching the given values(name,status,species,type,gender).
Locations class features:
from rickandmorty.location_client import Locations
- It includes 4 funtions:
1.getAll(): Returns, all locations information.
2.getSingle():Returns, the properties of the given number's defined location (Between 1 to 108).
3.getMultiple(): Returns, The properties of the given numbers' defined locations (Between 1 to 108).
4.filter():Returns, Locations matching the given values(name,type,dimension).
Episodes class features:
from rickandmorty.episode_client import Episodes
- It includes 4 funtions:
1.getAll(): Returns, all episodes information.
2.getSingle():Returns, the properties of the given number's defined episode (Between 1 to 42).
3.getMultiple(): Returns, The properties of the given numbers' defined episodes (Between 1 to 42).
4.filter():Returns, Episodes matching the given values(name,episode).
For detailed information:
- Visit official API Docs https://rickandmortyapi.com/documentation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rickandmorty-0.1.0.tar.gz
(3.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rickandmorty-0.1.0.tar.gz.
File metadata
- Download URL: rickandmorty-0.1.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08fadb1246d3e879744694ed2ea1223ebfe0413609ee06c0b252f7438a26ebe2
|
|
| MD5 |
29301ab75c5ba365989ca746dd879570
|
|
| BLAKE2b-256 |
f80c55cedc0ab7b88fd6f851fc6cab7f734faec84665e9f130b9f71316ad943e
|
File details
Details for the file rickandmorty-0.1.0-py3-none-any.whl.
File metadata
- Download URL: rickandmorty-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f703c5be00c58754698cb8106e46eb72476911ebfe69f6f5137861c4dcfb3422
|
|
| MD5 |
5a3ffdb9842a8c48e38efea6e080c168
|
|
| BLAKE2b-256 |
a321979c8868e0ba1b1fa94a5535d20665f93d8c27c4f1d49733d8a106bd05b9
|