No project description provided
Project description
Star Wars API Wrapper
This is an asynchronous wrapper for the Star Wars API
Usage
Getting a character by name
if __name__ == "__main__":
from wookie import StarWarsClient
sw = StarWarsClient(base_url="https://starwarsapi.site")
character_by_name = await sw.get_character_by_name("Luke Skywalker")
print("Character by Name:", character_by_name)
Get character count
if __name__ == "__main__":
from wookie import StarWarsClient
sw = StarWarsClient(base_url="https://starwarsapi.site")
character_count_ = await sw.get_character_count()
print(character_count)
More examples to come... Hold on for a while and refer https://starwarsapi.site/docs/
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
wookie-2.0.0.tar.gz
(1.5 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 wookie-2.0.0.tar.gz.
File metadata
- Download URL: wookie-2.0.0.tar.gz
- Upload date:
- Size: 1.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46c779997beeeca50e87dda59cc1444d9c3ebe25a55d2b1acc85e1c193026a92
|
|
| MD5 |
8dca011828396d678fc325ea0fcc2c75
|
|
| BLAKE2b-256 |
40bd43c8cc82c489d1437c3d68ab2c62fcccfb24c58fc4a808b7ea2450d9e154
|
File details
Details for the file wookie-2.0.0-py3-none-any.whl.
File metadata
- Download URL: wookie-2.0.0-py3-none-any.whl
- Upload date:
- Size: 1.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63915709c6ca69e1b56afad3f575fdc5e34ee22d8bac3a8308b39352bccc2ec0
|
|
| MD5 |
c880688f7c28b7a488d41b1fc38ccaa9
|
|
| BLAKE2b-256 |
4da239b3a015eb1f8e2e3e500f8842de7473538c136be1e8fd7afbc0f8c6f3d0
|