openbankproject_client.scope module

Scope endpoints for the OpenBankProject API Client.

class openbankproject_client.scope.ScopeEndpoints(client)[source]

Bases: object

Scope-related API endpoints.

__init__(client)[source]

Initialize the endpoint group.

Parameters:

client – OpenBankProjectClient instance

get_scopes() Dict[source]

Get Scopes.

Returns:

Dict containing scopes information

get_scope_by_id(scope_id: str) Dict[source]

Get Scope By Id.

Parameters:

scope_id – Scope identifier

Returns:

Dict containing scope information

create_scope(data: Dict) Dict[source]

Create Scope.

Parameters:

data – Scope data

Returns:

Dict containing created scope information

delete_scope(scope_id: str) Dict[source]

Delete Scope.

Parameters:

scope_id – Scope identifier

Returns:

Dict containing deletion status

update_scope(scope_id: str, data: Dict) Dict[source]

Update Scope.

Parameters:
  • scope_id – Scope identifier

  • data – Updated scope data

Returns:

Dict containing updated scope information