You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
896 B
896 B
sidebar_position
| sidebar_position |
|---|
| 1 |
Get site data
Gets information about a site by its name or token
Function GetSiteData(Val Token, Val Website = "") Export
| Parameter | CLI option | Type | Description |
|---|---|---|---|
| Token | --token | String | Auth token |
| Website | --sitename | String | Site name (login) for information. Current, if not filled in |
Returns: Map Of KeyAndValue - Serialized JSON response from Neocities
:::tip
Neocities API docs: neocities.org/api
:::
Token = "7419cd51de4037f7...";
Website = "2athenaeum";
Result = OPI_Neocities.GetSiteData(Token);
Result = OPI_Neocities.GetSiteData(Token, Website);
oint neocities GetSiteData --token "7419cd51de4037f7..." --sitename %sitename%