1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-22 10:05:29 +02:00
Files
OpenIntegrations/docs/en/md/Neocities/Data-retrieving/Get-token.md
T
Vitaly the Alpaca (bot) acef484801 Main build (Jenkins)
2024-10-09 09:42:00 +03:00

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