Skip to content

Nerinyan/nerinyan-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nerinyan Core

Nerinyan core is a library for the Nerinyan API. It contains functions for managing Nerinyan websites.

Examples

User Authentication

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

License

Copyright © thftgr, ZEEE
This project is licensed under the GPL-3.0 License. Please see the license file for more information.

About

system core library for Nerinyan

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages