Skip to content

Latest commit

 

History

History
71 lines (50 loc) · 2.21 KB

CreatorRolesApi.md

File metadata and controls

71 lines (50 loc) · 2.21 KB

rawg.CreatorRolesApi

All URIs are relative to https://api.rawg.io/api

Method HTTP request Description
creator_roles_list GET /creator-roles Get a list of creator positions (jobs).

creator_roles_list

CreatorRolesList200Response creator_roles_list(page=page, page_size=page_size)

Get a list of creator positions (jobs).

Example

from __future__ import print_function
import time
import rawg
from rawg.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.rawg.io/api
# See configuration.py for a list of all supported configuration parameters.
configuration = rawg.Configuration(
    host = "https://api.rawg.io/api"
)


# Enter a context with an instance of the API client
with rawg.ApiClient() as api_client:
    # Create an instance of the API class
    api_instance = rawg.CreatorRolesApi(api_client)
    page = 56 # int | A page number within the paginated result set. (optional)
page_size = 56 # int | Number of results to return per page. (optional)

    try:
        # Get a list of creator positions (jobs).
        api_response = api_instance.creator_roles_list(page=page, page_size=page_size)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling CreatorRolesApi->creator_roles_list: %s\n" % e)

Parameters

Name Type Description Notes
page int A page number within the paginated result set. [optional]
page_size int Number of results to return per page. [optional]

Return type

CreatorRolesList200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 -

[Back to top] [Back to API list] [Back to Model list] [Back to README]