rebrickable.api.api.lego_api module

The version of the OpenAPI document: Generated by: https://openapi-generator.tech

class rebrickable.api.api.lego_api.LegoApi(api_client=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech

Do not edit the class manually.

lego_colors_list(**kwargs)

Get a list of all Colors. # noqa: E501

Get a list of all Colors. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_colors_list(async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • page (str) – page

  • page_size (str) – page_size

  • ordering (str) – ordering

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ArrayOfColors If the method is called asynchronously, returns the request thread.

lego_colors_list_with_http_info(**kwargs)

Get a list of all Colors. # noqa: E501

Get a list of all Colors. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_colors_list_with_http_info(async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • page (str) – page

  • page_size (str) – page_size

  • ordering (str) – ordering

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(ArrayOfColors, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

lego_colors_read(id, **kwargs)

Get details about a specific Color. # noqa: E501

Get details about a specific Color. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_colors_read(id, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • id (str) – id (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Color If the method is called asynchronously, returns the request thread.

lego_colors_read_with_http_info(id, **kwargs)

Get details about a specific Color. # noqa: E501

Get details about a specific Color. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_colors_read_with_http_info(id, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • id (str) – id (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Color, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

lego_elements_read(element_id, **kwargs)

Get details about a specific Element ID. # noqa: E501

Get details about a specific Element ID. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_elements_read(element_id, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • element_id (str) – element_id (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Element If the method is called asynchronously, returns the request thread.

lego_elements_read_with_http_info(element_id, **kwargs)

Get details about a specific Element ID. # noqa: E501

Get details about a specific Element ID. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_elements_read_with_http_info(element_id, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • element_id (str) – element_id (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Element, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

lego_mocs_parts_list(set_num, **kwargs)

Get a list of all Inventory Parts in this MOC. # noqa: E501

Get a list of all Inventory Parts in this MOC. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_mocs_parts_list(set_num, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • set_num (str) – set_num (required)

  • page (str) – page

  • page_size (str) – page_size

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ArrayOfInventoryParts If the method is called asynchronously, returns the request thread.

lego_mocs_parts_list_with_http_info(set_num, **kwargs)

Get a list of all Inventory Parts in this MOC. # noqa: E501

Get a list of all Inventory Parts in this MOC. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_mocs_parts_list_with_http_info(set_num, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • set_num (str) – set_num (required)

  • page (str) – page

  • page_size (str) – page_size

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(ArrayOfInventoryParts, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

lego_mocs_read(set_num, **kwargs)

Get details for a specific MOC. # noqa: E501

Get details for a specific MOC. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_mocs_read(set_num, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • set_num (str) – set_num (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Moc If the method is called asynchronously, returns the request thread.

lego_mocs_read_with_http_info(set_num, **kwargs)

Get details for a specific MOC. # noqa: E501

Get details for a specific MOC. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_mocs_read_with_http_info(set_num, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • set_num (str) – set_num (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Moc, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

lego_part_categories_list(**kwargs)

Get a list of all Part Categories. # noqa: E501

Get a list of all Part Categories. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_part_categories_list(async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • page (str) – page

  • page_size (str) – page_size

  • ordering (str) – ordering

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ArrayOfPartCategories If the method is called asynchronously, returns the request thread.

lego_part_categories_list_with_http_info(**kwargs)

Get a list of all Part Categories. # noqa: E501

Get a list of all Part Categories. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_part_categories_list_with_http_info(async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • page (str) – page

  • page_size (str) – page_size

  • ordering (str) – ordering

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(ArrayOfPartCategories, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

lego_part_categories_read(id, **kwargs)

Get details about a specific Part Category. # noqa: E501

Get details about a specific Part Category. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_part_categories_read(id, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • id (str) – id (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

PartCategory If the method is called asynchronously, returns the request thread.

lego_part_categories_read_with_http_info(id, **kwargs)

Get details about a specific Part Category. # noqa: E501

Get details about a specific Part Category. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_part_categories_read_with_http_info(id, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • id (str) – id (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(PartCategory, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

lego_parts_colors_list(part_num, **kwargs)

Get a list of all Colors a Part has appeared in. # noqa: E501

Get a list of all Colors a Part has appeared in. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_parts_colors_list(part_num, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • part_num (str) – part_num (required)

  • page (str) – page

  • page_size (str) – page_size

  • ordering (str) – ordering

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ArrayOfPartColorsLists If the method is called asynchronously, returns the request thread.

lego_parts_colors_list_with_http_info(part_num, **kwargs)

Get a list of all Colors a Part has appeared in. # noqa: E501

Get a list of all Colors a Part has appeared in. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_parts_colors_list_with_http_info(part_num, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • part_num (str) – part_num (required)

  • page (str) – page

  • page_size (str) – page_size

  • ordering (str) – ordering

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(ArrayOfPartColorsLists, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

lego_parts_colors_read(color_id, part_num, **kwargs)

Get details about a specific Part/Color combination. # noqa: E501

Get details about a specific Part/Color combination. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_parts_colors_read(color_id, part_num, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • color_id (str) – color_id (required)

  • part_num (str) – part_num (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

PartColorsElement If the method is called asynchronously, returns the request thread.

lego_parts_colors_read_with_http_info(color_id, part_num, **kwargs)

Get details about a specific Part/Color combination. # noqa: E501

Get details about a specific Part/Color combination. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_parts_colors_read_with_http_info(color_id, part_num, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • color_id (str) – color_id (required)

  • part_num (str) – part_num (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(PartColorsElement, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

lego_parts_colors_sets_list(color_id, part_num, **kwargs)

Get a list of all Sets the Part/Color combination has appeard in. # noqa: E501

Get a list of all Sets the Part/Color combination has appeard in. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_parts_colors_sets_list(color_id, part_num, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • color_id (str) – color_id (required)

  • part_num (str) – part_num (required)

  • page (str) – page

  • page_size (str) – page_size

  • ordering (str) – ordering

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ArrayOfSets If the method is called asynchronously, returns the request thread.

lego_parts_colors_sets_list_with_http_info(color_id, part_num, **kwargs)

Get a list of all Sets the Part/Color combination has appeard in. # noqa: E501

Get a list of all Sets the Part/Color combination has appeard in. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_parts_colors_sets_list_with_http_info(color_id, part_num, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • color_id (str) – color_id (required)

  • part_num (str) – part_num (required)

  • page (str) – page

  • page_size (str) – page_size

  • ordering (str) – ordering

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(ArrayOfSets, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

lego_parts_list(**kwargs)

Get a list of Parts. # noqa: E501

Get a list of Parts. Optional parameter inc_part_details=1 can be used to return additional fields, the same as for a single part lookup. The optional part_nums filter parameter should be a comma separated list of part_num without spaces. Optionally filter by one or more of the below query parameters. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_parts_list(async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • page (str) – page

  • page_size (str) – page_size

  • part_num (str) – part_num

  • part_nums (str) – part_nums

  • part_cat_id (str) – part_cat_id

  • color_id (str) – color_id

  • bricklink_id (str) – bricklink_id

  • brickowl_id (str) – brickowl_id

  • lego_id (str) – lego_id

  • ldraw_id (str) – ldraw_id

  • ordering (str) – ordering

  • search (str) – search

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ArrayOfParts If the method is called asynchronously, returns the request thread.

lego_parts_list_with_http_info(**kwargs)

Get a list of Parts. # noqa: E501

Get a list of Parts. Optional parameter inc_part_details=1 can be used to return additional fields, the same as for a single part lookup. The optional part_nums filter parameter should be a comma separated list of part_num without spaces. Optionally filter by one or more of the below query parameters. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_parts_list_with_http_info(async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • page (str) – page

  • page_size (str) – page_size

  • part_num (str) – part_num

  • part_nums (str) – part_nums

  • part_cat_id (str) – part_cat_id

  • color_id (str) – color_id

  • bricklink_id (str) – bricklink_id

  • brickowl_id (str) – brickowl_id

  • lego_id (str) – lego_id

  • ldraw_id (str) – ldraw_id

  • ordering (str) – ordering

  • search (str) – search

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(ArrayOfParts, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

lego_parts_read(part_num, **kwargs)

Get details about a specific Part. # noqa: E501

Get details about a specific Part. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_parts_read(part_num, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • part_num (str) – part_num (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Part If the method is called asynchronously, returns the request thread.

lego_parts_read_with_http_info(part_num, **kwargs)

Get details about a specific Part. # noqa: E501

Get details about a specific Part. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_parts_read_with_http_info(part_num, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • part_num (str) – part_num (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Part, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

lego_sets_alternates_list(set_num, **kwargs)

Get a list of MOCs which are Alternate Builds of a specific Set - i.e. all parts in the MOC can # noqa: E501

Get a list of MOCs which are Alternate Builds of a specific Set - i.e. all parts in the MOC can be found in the Set. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_sets_alternates_list(set_num, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • set_num (str) – set_num (required)

  • page (str) – page

  • page_size (str) – page_size

  • ordering (str) – ordering

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ArrayOfMocs If the method is called asynchronously, returns the request thread.

lego_sets_alternates_list_with_http_info(set_num, **kwargs)

Get a list of MOCs which are Alternate Builds of a specific Set - i.e. all parts in the MOC can # noqa: E501

Get a list of MOCs which are Alternate Builds of a specific Set - i.e. all parts in the MOC can be found in the Set. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_sets_alternates_list_with_http_info(set_num, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • set_num (str) – set_num (required)

  • page (str) – page

  • page_size (str) – page_size

  • ordering (str) – ordering

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(ArrayOfMocs, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

lego_sets_list(**kwargs)

Get a list of Sets, optionally filtered by any of the below parameters. # noqa: E501

Get a list of Sets, optionally filtered by any of the below parameters. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_sets_list(async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • page (str) – page

  • page_size (str) – page_size

  • theme_id (str) – theme_id

  • min_year (str) – min_year

  • max_year (str) – max_year

  • min_parts (str) – min_parts

  • max_parts (str) – max_parts

  • ordering (str) – ordering

  • search (str) – search

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ArrayOfSets If the method is called asynchronously, returns the request thread.

lego_sets_list_with_http_info(**kwargs)

Get a list of Sets, optionally filtered by any of the below parameters. # noqa: E501

Get a list of Sets, optionally filtered by any of the below parameters. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_sets_list_with_http_info(async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • page (str) – page

  • page_size (str) – page_size

  • theme_id (str) – theme_id

  • min_year (str) – min_year

  • max_year (str) – max_year

  • min_parts (str) – min_parts

  • max_parts (str) – max_parts

  • ordering (str) – ordering

  • search (str) – search

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(ArrayOfSets, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

lego_sets_parts_list(set_num, **kwargs)

Get a list of all Inventory Parts in this Set. # noqa: E501

Get a list of all Inventory Parts in this Set. Optional parameter inc_part_details=1 can be used to return additional part fields, the same as for a single part lookup. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_sets_parts_list(set_num, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • set_num (str) – set_num (required)

  • page (str) – page

  • page_size (str) – page_size

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ArrayOfParts If the method is called asynchronously, returns the request thread.

lego_sets_parts_list_with_http_info(set_num, **kwargs)

Get a list of all Inventory Parts in this Set. # noqa: E501

Get a list of all Inventory Parts in this Set. Optional parameter inc_part_details=1 can be used to return additional part fields, the same as for a single part lookup. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_sets_parts_list_with_http_info(set_num, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • set_num (str) – set_num (required)

  • page (str) – page

  • page_size (str) – page_size

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(ArrayOfParts, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

lego_sets_read(set_num, **kwargs)

Get details for a specific Set. # noqa: E501

Get details for a specific Set. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_sets_read(set_num, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • set_num (str) – set_num (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Set If the method is called asynchronously, returns the request thread.

lego_sets_read_with_http_info(set_num, **kwargs)

Get details for a specific Set. # noqa: E501

Get details for a specific Set. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_sets_read_with_http_info(set_num, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • set_num (str) – set_num (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Set, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

lego_sets_sets_list(set_num, **kwargs)

Get a list of all Inventory Sets in this Set. # noqa: E501

Get a list of all Inventory Sets in this Set. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_sets_sets_list(set_num, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • set_num (str) – set_num (required)

  • page (str) – page

  • page_size (str) – page_size

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ArrayOfSets If the method is called asynchronously, returns the request thread.

lego_sets_sets_list_with_http_info(set_num, **kwargs)

Get a list of all Inventory Sets in this Set. # noqa: E501

Get a list of all Inventory Sets in this Set. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_sets_sets_list_with_http_info(set_num, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • set_num (str) – set_num (required)

  • page (str) – page

  • page_size (str) – page_size

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(ArrayOfSets, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

lego_themes_list(**kwargs)

Return all Themes # noqa: E501

Return all Themes # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_themes_list(async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • page (str) – page

  • page_size (str) – page_size

  • ordering (str) – ordering

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ArrayOfThemes If the method is called asynchronously, returns the request thread.

lego_themes_list_with_http_info(**kwargs)

Return all Themes # noqa: E501

Return all Themes # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_themes_list_with_http_info(async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • page (str) – page

  • page_size (str) – page_size

  • ordering (str) – ordering

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(ArrayOfThemes, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

lego_themes_read(id, **kwargs)

Return details for a specific Theme # noqa: E501

Return details for a specific Theme # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_themes_read(id, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • id (str) – id (required)

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

Theme If the method is called asynchronously, returns the request thread.

lego_themes_read_with_http_info(id, **kwargs)

Return details for a specific Theme # noqa: E501

Return details for a specific Theme # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.lego_themes_read_with_http_info(id, async_req=True) >>> result = thread.get()

Parameters
  • bool (async_req) – execute request asynchronously

  • id (str) – id (required)

  • _return_http_data_only – response data without head status code and headers

  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

tuple(Theme, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.