Package aioimmich

Aioimmic library.

Sub-modules

aioimmich.albums

aioimmich albums api.

aioimmich.api

aioimmich api.

aioimmich.assets

aioimmich assets api.

aioimmich.const

aioimmich constants.

aioimmich.exceptions

aioimmich exceptions.

aioimmich.people

aioimmich people api.

aioimmich.search

aioimmich search api.

aioimmich.server

aioimmich server api.

aioimmich.tags

aioimmich tags api.

aioimmich.users

aioimmich users api.

Classes

class Immich (aiohttp_session: ClientSession,
api_key: str,
host: str,
port: int = 2283,
use_ssl: bool = True,
device_id: str = 'python')
Expand source code
class Immich:
    """Immich instance."""

    __slots__ = (
        "api",
        "albums",
        "assets",
        "people",
        "search",
        "server",
        "tags",
        "users",
    )

    api: ImmichApi
    albums: ImmichAlbums
    assets: ImmichAssests
    people: ImmichPeople
    search: ImmichSearch
    server: ImmichServer
    tags: ImmichTags
    users: ImmichUsers

    def __init__(
        self,
        aiohttp_session: ClientSession,
        api_key: str,
        host: str,
        port: int = 2283,
        use_ssl: bool = True,
        device_id: str = "python",
    ) -> None:
        """Immich instace init."""
        self.api = ImmichApi(aiohttp_session, api_key, device_id, host, port, use_ssl)

        self.albums = ImmichAlbums(self.api)
        self.assets = ImmichAssests(self.api)
        self.people = ImmichPeople(self.api)
        self.search = ImmichSearch(self.api)
        self.server = ImmichServer(self.api)
        self.tags = ImmichTags(self.api)
        self.users = ImmichUsers(self.api)

Immich instance.

Immich instace init.

Instance variables

var albumsImmichAlbums
Expand source code
class Immich:
    """Immich instance."""

    __slots__ = (
        "api",
        "albums",
        "assets",
        "people",
        "search",
        "server",
        "tags",
        "users",
    )

    api: ImmichApi
    albums: ImmichAlbums
    assets: ImmichAssests
    people: ImmichPeople
    search: ImmichSearch
    server: ImmichServer
    tags: ImmichTags
    users: ImmichUsers

    def __init__(
        self,
        aiohttp_session: ClientSession,
        api_key: str,
        host: str,
        port: int = 2283,
        use_ssl: bool = True,
        device_id: str = "python",
    ) -> None:
        """Immich instace init."""
        self.api = ImmichApi(aiohttp_session, api_key, device_id, host, port, use_ssl)

        self.albums = ImmichAlbums(self.api)
        self.assets = ImmichAssests(self.api)
        self.people = ImmichPeople(self.api)
        self.search = ImmichSearch(self.api)
        self.server = ImmichServer(self.api)
        self.tags = ImmichTags(self.api)
        self.users = ImmichUsers(self.api)
var apiImmichApi
Expand source code
class Immich:
    """Immich instance."""

    __slots__ = (
        "api",
        "albums",
        "assets",
        "people",
        "search",
        "server",
        "tags",
        "users",
    )

    api: ImmichApi
    albums: ImmichAlbums
    assets: ImmichAssests
    people: ImmichPeople
    search: ImmichSearch
    server: ImmichServer
    tags: ImmichTags
    users: ImmichUsers

    def __init__(
        self,
        aiohttp_session: ClientSession,
        api_key: str,
        host: str,
        port: int = 2283,
        use_ssl: bool = True,
        device_id: str = "python",
    ) -> None:
        """Immich instace init."""
        self.api = ImmichApi(aiohttp_session, api_key, device_id, host, port, use_ssl)

        self.albums = ImmichAlbums(self.api)
        self.assets = ImmichAssests(self.api)
        self.people = ImmichPeople(self.api)
        self.search = ImmichSearch(self.api)
        self.server = ImmichServer(self.api)
        self.tags = ImmichTags(self.api)
        self.users = ImmichUsers(self.api)
var assetsImmichAssests
Expand source code
class Immich:
    """Immich instance."""

    __slots__ = (
        "api",
        "albums",
        "assets",
        "people",
        "search",
        "server",
        "tags",
        "users",
    )

    api: ImmichApi
    albums: ImmichAlbums
    assets: ImmichAssests
    people: ImmichPeople
    search: ImmichSearch
    server: ImmichServer
    tags: ImmichTags
    users: ImmichUsers

    def __init__(
        self,
        aiohttp_session: ClientSession,
        api_key: str,
        host: str,
        port: int = 2283,
        use_ssl: bool = True,
        device_id: str = "python",
    ) -> None:
        """Immich instace init."""
        self.api = ImmichApi(aiohttp_session, api_key, device_id, host, port, use_ssl)

        self.albums = ImmichAlbums(self.api)
        self.assets = ImmichAssests(self.api)
        self.people = ImmichPeople(self.api)
        self.search = ImmichSearch(self.api)
        self.server = ImmichServer(self.api)
        self.tags = ImmichTags(self.api)
        self.users = ImmichUsers(self.api)
var peopleImmichPeople
Expand source code
class Immich:
    """Immich instance."""

    __slots__ = (
        "api",
        "albums",
        "assets",
        "people",
        "search",
        "server",
        "tags",
        "users",
    )

    api: ImmichApi
    albums: ImmichAlbums
    assets: ImmichAssests
    people: ImmichPeople
    search: ImmichSearch
    server: ImmichServer
    tags: ImmichTags
    users: ImmichUsers

    def __init__(
        self,
        aiohttp_session: ClientSession,
        api_key: str,
        host: str,
        port: int = 2283,
        use_ssl: bool = True,
        device_id: str = "python",
    ) -> None:
        """Immich instace init."""
        self.api = ImmichApi(aiohttp_session, api_key, device_id, host, port, use_ssl)

        self.albums = ImmichAlbums(self.api)
        self.assets = ImmichAssests(self.api)
        self.people = ImmichPeople(self.api)
        self.search = ImmichSearch(self.api)
        self.server = ImmichServer(self.api)
        self.tags = ImmichTags(self.api)
        self.users = ImmichUsers(self.api)
var searchImmichSearch
Expand source code
class Immich:
    """Immich instance."""

    __slots__ = (
        "api",
        "albums",
        "assets",
        "people",
        "search",
        "server",
        "tags",
        "users",
    )

    api: ImmichApi
    albums: ImmichAlbums
    assets: ImmichAssests
    people: ImmichPeople
    search: ImmichSearch
    server: ImmichServer
    tags: ImmichTags
    users: ImmichUsers

    def __init__(
        self,
        aiohttp_session: ClientSession,
        api_key: str,
        host: str,
        port: int = 2283,
        use_ssl: bool = True,
        device_id: str = "python",
    ) -> None:
        """Immich instace init."""
        self.api = ImmichApi(aiohttp_session, api_key, device_id, host, port, use_ssl)

        self.albums = ImmichAlbums(self.api)
        self.assets = ImmichAssests(self.api)
        self.people = ImmichPeople(self.api)
        self.search = ImmichSearch(self.api)
        self.server = ImmichServer(self.api)
        self.tags = ImmichTags(self.api)
        self.users = ImmichUsers(self.api)
var serverImmichServer
Expand source code
class Immich:
    """Immich instance."""

    __slots__ = (
        "api",
        "albums",
        "assets",
        "people",
        "search",
        "server",
        "tags",
        "users",
    )

    api: ImmichApi
    albums: ImmichAlbums
    assets: ImmichAssests
    people: ImmichPeople
    search: ImmichSearch
    server: ImmichServer
    tags: ImmichTags
    users: ImmichUsers

    def __init__(
        self,
        aiohttp_session: ClientSession,
        api_key: str,
        host: str,
        port: int = 2283,
        use_ssl: bool = True,
        device_id: str = "python",
    ) -> None:
        """Immich instace init."""
        self.api = ImmichApi(aiohttp_session, api_key, device_id, host, port, use_ssl)

        self.albums = ImmichAlbums(self.api)
        self.assets = ImmichAssests(self.api)
        self.people = ImmichPeople(self.api)
        self.search = ImmichSearch(self.api)
        self.server = ImmichServer(self.api)
        self.tags = ImmichTags(self.api)
        self.users = ImmichUsers(self.api)
var tagsImmichTags
Expand source code
class Immich:
    """Immich instance."""

    __slots__ = (
        "api",
        "albums",
        "assets",
        "people",
        "search",
        "server",
        "tags",
        "users",
    )

    api: ImmichApi
    albums: ImmichAlbums
    assets: ImmichAssests
    people: ImmichPeople
    search: ImmichSearch
    server: ImmichServer
    tags: ImmichTags
    users: ImmichUsers

    def __init__(
        self,
        aiohttp_session: ClientSession,
        api_key: str,
        host: str,
        port: int = 2283,
        use_ssl: bool = True,
        device_id: str = "python",
    ) -> None:
        """Immich instace init."""
        self.api = ImmichApi(aiohttp_session, api_key, device_id, host, port, use_ssl)

        self.albums = ImmichAlbums(self.api)
        self.assets = ImmichAssests(self.api)
        self.people = ImmichPeople(self.api)
        self.search = ImmichSearch(self.api)
        self.server = ImmichServer(self.api)
        self.tags = ImmichTags(self.api)
        self.users = ImmichUsers(self.api)
var usersImmichUsers
Expand source code
class Immich:
    """Immich instance."""

    __slots__ = (
        "api",
        "albums",
        "assets",
        "people",
        "search",
        "server",
        "tags",
        "users",
    )

    api: ImmichApi
    albums: ImmichAlbums
    assets: ImmichAssests
    people: ImmichPeople
    search: ImmichSearch
    server: ImmichServer
    tags: ImmichTags
    users: ImmichUsers

    def __init__(
        self,
        aiohttp_session: ClientSession,
        api_key: str,
        host: str,
        port: int = 2283,
        use_ssl: bool = True,
        device_id: str = "python",
    ) -> None:
        """Immich instace init."""
        self.api = ImmichApi(aiohttp_session, api_key, device_id, host, port, use_ssl)

        self.albums = ImmichAlbums(self.api)
        self.assets = ImmichAssests(self.api)
        self.people = ImmichPeople(self.api)
        self.search = ImmichSearch(self.api)
        self.server = ImmichServer(self.api)
        self.tags = ImmichTags(self.api)
        self.users = ImmichUsers(self.api)