Nerinyan core is a library for the Nerinyan API. It contains functions for managing Nerinyan websites.
a, err := auth.LoginWithAuth("username", "password") // IMPORTANT) DO NOT PUSH YOUR PASSWORD
err = a.Login()
err = a.Refresh()
exp := a.ExpiredAt()
fmt.Println(exp) // Print seconds remaining until expiration
fmt.Println(a.Token.AccessToken) // Print access token
Copyright © thftgr, ZEEE
This project is licensed under the GPL-3.0 License. Please see the license file for more information.