Applications
These functions can be used to pull data related to common third-party software.
You can access these functions by using git to clone the API TypeScript bindings.
Then you may import them into your TypeScript code.
For example:
import { vscodeRecentFiles, PlatformType } from "./artemis-api/mod";
function main() {
const results = vscodeRecentFiles(PlatformType.Linux);
return results;
}
main();
Chromium Browser class
A basic TypeScript class to extract data from the Chromium browser. You may optionally enable Unfold URL parsing (default is disabled) and provide an alternative glob to the base Chromium directory.
Chrome and Edge parsers can also be created and are derived from the Chromium class.
Sample TypeScript code:
import { Chromium, Edge, PlatformType } from "./artemis-api/mod";
function main() {
const enable_unfold = true;
const client = new Chromium(PlatformType.Linux, enable_unfold);
const edge = new Edge(PlatformType.Windows);
const start = 0;
const limit = 300;
const history_data = client.history(start, limit);
const ext = client.extensions();
return ext;
}
main();
history(offset, limit) -> ChromiumHistory[]
Return Chromium history for all users. Chromium history exists in a sqlite database.
Artemis will bypass locked sqlite databases when querying history.
You may provide a starting offset and limit when querying history.
By default artemis will get the first 100 entries for all users.
Param | Type | Description |
---|---|---|
offset | number | Starting offset when querying the sqlite database |
limit | number | Max number of rows to return per user |
downloads(offset, limit) -> ChromiumDownloads[]
Return Chromium downloads for all users. Chromium downloads exists in a sqlite database.
Artemis will bypass locked sqlite databases when querying downloads.
You may provide a starting offset and limit when querying downloads.
By default artemis will get the first 100 entries for all users.
Param | Type | Description |
---|---|---|
offset | number | Starting offset when querying the sqlite database |
limit | number | Max number of rows to return per user |
cookies(offset, limit) -> ChromiumCookies[]
Return Chromium cookies for all users. Chromium cookies exists in a sqlite database.
Artemis will bypass locked sqlite databases when querying cookies.
You may provide a starting offset and limit when querying cookies.
By default artemis will get the first 100 entries for all users.
Param | Type | Description |
---|---|---|
offset | number | Starting offset when querying the sqlite database |
limit | number | Max number of rows to return per user |
autofill(offset, limit) -> ChromiumAutofill[]
Return Chromium autofill for all users. Chromium autofill exists in a sqlite database.
Artemis will bypass locked sqlite databases when querying autofill.
You may provide a starting offset and limit when querying autofill.
By default artemis will get the first 100 entries for all users.
Param | Type | Description |
---|---|---|
offset | number | Starting offset when querying the sqlite database |
limit | number | Max number of rows to return per user |
logins(offset, limit) -> ChromiumLogins[]
Return Chromium logins for all users. Chromium logins exists in a sqlite database.
Artemis will bypass locked sqlite databases when querying logins.
You may provide a starting offset and limit when querying logins.
By default artemis will get the first 100 entries for all users.
Param | Type | Description |
---|---|---|
offset | number | Starting offset when querying the sqlite database |
limit | number | Max number of rows to return per user |
dips(offset, limit) -> ChromiumDips[]
Return Chromium Detect Incidental Party State (DIPS) for all users. Chromium DIPS exists in a sqlite database.
Artemis will bypass locked sqlite databases when querying DIPS.
You may provide a starting offset and limit when querying DIPS.
By default artemis will get the first 100 entries for all users.
Param | Type | Description |
---|---|---|
offset | number | Starting offset when querying the sqlite database |
limit | number | Max number of rows to return per user |
extensions() -> Record<string, unknown>[]
Return Chromium extensions for all users.
preferences() -> Record<string, unknown>[]
Return Chromium preferences for all users.
bookmarks() -> ChromiumBookmarks[]
Return Chromium bookmarks for all users.
localStorage() -> ChromiumLocalStorage[]
Return Chromium local storage data for all users.