Description Usage Arguments Value See Also Examples
*_schema functions grab the schema specifications for each class of objects in the SWAPI database. This can be used to predict what structure data returned from the API will take.
1 2 3 4 5 6 7 8 9 10 11 | get_planet_schema(parse_result = FALSE, ...)
get_species_schema(parse_result = FALSE, ...)
get_film_schema(parse_result = FALSE, ...)
get_vehicle_schema(parse_result = FALSE, ...)
get_starship_schema(parse_result = FALSE, ...)
get_person_schema(parse_result = FALSE, ...)
|
parse_result |
whether to simplify the results before they are returned. This is FALSE by default. |
... |
additional arguments to pass to httr's GET function, such as timeout settings or user agents. |
a list-based representation of the relevant JSON schema.
entries
for retrieving data about
individual planets, schemas, etc, or all_entries
for retrieving all of the data in a particular category.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.