Metadata-Version: 2.4
Name: sdkfabric-starwars
Version: 0.1.9
Summary: Starwars Python SDK managed by SDK Fabric
Author-email: Christoph Kappestein <christoph.kappestein@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/sdk-fabric/starwars-python
Project-URL: Issues, https://github.com/sdk-fabric/starwars-python/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Code Generators
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: sdkgen-client
Dynamic: license-file


# starwars-python

This [SDK](https://github.com/sdk-fabric/starwars-python) is managed by the [SDK Fabric](https://sdk-fabric.org/) project, a global infrastructure to
automatically generate SDKs for every API.

You can find more information about this SDK at [TypeHub](https://typehub.cloud/):
https://app.typehub.cloud/d/sdkfabric/starwars

## Usage

```python
from sdk.client import Client

client = Client.build("[access_token]")

# Get all the people.
response = client.people().getAll("search")

# Get a specific people.
response = client.people().get("id")

# Get all the films.
response = client.film().getAll("search")

# Get a specific film.
response = client.film().get("id")

# Get all the starships.
response = client.starship().getAll("search")

# Get a specific starship.
response = client.starship().get("id")

# Get all the species.
response = client.species().getAll("search")

# Get a specific species.
response = client.species().get("id")

# Get all the vehicles.
response = client.vehicle().getAll("search")

# Get a specific vehicle.
response = client.vehicle().get("id")

# Get all the planets.
response = client.planet().getAll("search")

# Get a specific planet.
response = client.planet().get("id")
```
