1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-01-26 05:37:27 +02:00
Vitaly the Alpaca (bot) 97d73e3478 Main build (Jenkins)
2024-09-25 15:22:14 +03:00

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": "***"
}