Shimoku docs
Managing Universes
A Universe is where you create your Data Apps.
Every Universe admin can create an unlimited number of Data Apps called Businesses. Each Business can be accessed by an unlimited number of users (or email accounts) for an unlimited number of businesses.
With the Universe object, you can use:
  • get_universe_businesses() to retrieve in cascade all businesses in a universe
  • get_universe_app_type() to retrieve in cascade all App Types (types of apps) that belong to a universe
A Universe with its Businesses, and showing the App Types (types of apps) it has.
AppType 1 appears in the Business 1 personalized as Suite 1.2, AppType 3 appears as Suite 1.1, and so on.
In particular, the examples we are going to see are from a Universe with two AppTypes (1 and 2) and a single Business with two Apps (so-called Suites 1.1 and 1.2):
All Suite 1 belongs to Business 1. Suite 1.1 is the AppType 1 application for Business 1.

The Methods

1. get_universe_businesses()

To get all the businesses that belong to a universe you can use:
businesses: List[Dict] = shimoku.universe.get_universe_businesses()
Showing all the Businesses that belong to this Universe, in the yellow ellipse.
The method returns a single business that exists for this Universe, in this example it has just one:
businesses = [
"id": "d0361c40-8de9-4dd0-a60c-b0ee12c4d7f4",
"__typename": "Business",
"updatedAt": "2021-03-01T15:46:36.521Z",
"createdAt": "2021-03-01T15:46:36.521Z",
"owner": "333ce8a0-098a-41b5-84a5-6ae67705d1be",
"businessUniverseId": "fffff-94df-49ed-b74b-d9fb9246dbb4",
"name": "IKEAM Furniture"
"type": "PERSONAL",

2. get_universe_app_types

You can get all the types of Apps created in a Universe using this:
app_types: List[Dict] = shimoku.universe.get_universe_app_types()
Showing all the AppTypes that belong to this Universe, in the yellow ellipse.
It returns two App Types available for this Universe. Meaning that all Business in this business will have two sort of Apps: Retention App and Sales Prediction App.
app_types = [
"id": "f861-4794-932b-6395de991111",
"__typename": "AppType",
"updatedAt": "2020-08-18T10:22:23.898Z",
"createdAt": "2020-08-18T10:22:23.898Z",
"appTypeUniverseId": "fffff-94df-49ed-b74b-d9fb9246dbb4",
"normalizedName": "retention-app",
"name": "Retention App",
"id": "g972-4794-932b-6395de002222",
"__typename": "AppType",
"updatedAt": "2021-10-03T10:22:23.898Z",
"createdAt": "2021-10-03T10:22:23.898Z",
"appTypeUniverseId": "fffff-94df-49ed-b74b-d9fb9246dbb4",
"normalizedName": "sales-prediction"
"name": "Sales prediction",
Copy link
On this page
The Methods
1. get_universe_businesses()
2. get_universe_app_types