mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-01-26 05:37:27 +02:00
811 B
811 B
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": "***"
}