You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-05-22 10:05:29 +02:00
811 B
811 B
sidebar_position
| sidebar_position |
|---|
| 2 |
Get token
Receives authorization token by login and password
Function GetToken(Val Login, Val Password) Export
| Parameter | CLI option | Type | Description |
|---|---|---|---|
| Login | --login | String | Users login |
| Password | --password | String | Users password |
Returns: Map Of KeyAndValue - serialized JSON response from Neocities
:::tip
Neocities API docs: neocities.org/api
:::
Login = "2athenaeum";
Password = "Rit...";
Result = OPI_Neocities.GetToken(Login, Password);
oint neocities GetToken --login "2athenaeum" --password "Rit..."
{
"result": "success",
"api_key": "***"
}